Class ChartThemes

java.lang.Object
com.arbergashi.charts.api.ChartThemes

public final class ChartThemes extends Object
Central access point for the framework's built-in theme defaults.

Framework contract: Core rendering code must never depend on demo resources or application-specific Look&Feel state. Instead it should request a theme from the active PlotContext and only fall back to the stable defaults exposed here.

This class intentionally provides only a small set of stable defaults. Applications are expected to supply their own ChartTheme (e.g. derived from FlatLaf/UI defaults) via the chart panel / builder APIs.

Since:
2026-01-01
Version:
1.0.0
Author:
Arber Gashi
  • Method Details

    • defaultDark

      public static ChartTheme defaultDark()
      The default dark theme used as a stable fallback.
    • defaultLight

      public static ChartTheme defaultLight()
      The default light theme used as a stable fallback.