Class ChartStyle

java.lang.Object
com.arbergashi.charts.internal.ChartStyle

public final class ChartStyle extends Object
Central design system for ArberGashi Charts. Abstracts access to UI keys and provides intelligent fallbacks.
Since:
2025-12-30
Version:
1.0.0
Author:
Arber Gashi
  • Field Details

  • Method Details

    • getGridColor

      public static Color getGridColor()
      Returns a subtle gray with transparency as default when the property is missing.
    • getAccentColor

      public static Color getAccentColor()
      Falls back to the system/default accent color when the property is missing.
    • getBackgroundColor

      public static Color getBackgroundColor()
    • getForegroundColor

      public static Color getForegroundColor()
    • getSafeColor

      public static Color getSafeColor(String key, Color fallback)
      Core logic for robustness. Now public so panels can safely handle specialized color logic (e.g. tooltips).