Package com.inductiveautomation.perspective.common.config.charts.util
@NullMarked
package com.inductiveautomation.perspective.common.config.charts.util
Bundled canvas-chart style content and the by-name fallback.
ChartStyleUtil is the
single entry point. It loads the bundled light and dark ECharts theme JSON once
from the classpath at class-init and exposes it two ways: as full CanvasChartStyleConfig objects, which
the gateway seeds into the platform's system collection at startup, and as a fallback for
a name no configured style claims (anything containing "dark" gets the dark default).
Resolving a name against the configured styles needs the resource collection, so it
lives in perspective-gateway's CanvasChartStyleManager.
See the parent package com.inductiveautomation.perspective.common.config.charts for
the overall styling model.
-
ClassesClassDescriptionThe canvas chart styles that ship with the module, and the fallback used when nothing else matches.