[FEATURE] Customn Theme
CI / build-and-test (pull_request) Successful in 10m26s

This commit is contained in:
Pit Friedrich
2026-07-07 19:55:42 +02:00
parent 5ed6937c88
commit d947833214
9 changed files with 528 additions and 12 deletions
@@ -10,11 +10,13 @@ public abstract class AxisChart extends ApexChart {
}
public void setData(String seriesName, List<Double> values, List<String> categories) {
Map<String, Object> options = Map.of(
"chart", Map.of("type", getChartType(), "height", "100%"),
"series", List.of(Map.of("name", seriesName, "data", values)),
"xaxis", Map.of("categories", categories)
);
Map<String, Object> options = DialectTheme.baseOptions(getChartType());
options.put("series", List.of(Map.of("name", seriesName, "data", values)));
options.put("xaxis", Map.of(
"categories", categories,
"axisBorder", Map.of("show", false),
"axisTicks", Map.of("show", false)
));
sendOptions(options);
}