Class ChartStyle
java.lang.Object
com.arbergashi.charts.internal.ChartStyle
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 Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ColorFalls back to the system/default accent color when the property is missing.static Colorstatic Colorstatic ColorReturns a subtle gray with transparency as default when the property is missing.static ColorgetSafeColor(String key, Color fallback) Core logic for robustness.
-
Field Details
-
KEY_GRID
- See Also:
-
KEY_ACCENT
- See Also:
-
KEY_BG
- See Also:
-
KEY_FG
- See Also:
-
KEY_TOOLTIP_BG
- See Also:
-
KEY_TOOLTIP_FG
- See Also:
-
-
Method Details
-
getGridColor
Returns a subtle gray with transparency as default when the property is missing. -
getAccentColor
Falls back to the system/default accent color when the property is missing. -
getBackgroundColor
-
getForegroundColor
-
getSafeColor
-