Class ArberChartBuilder
java.lang.Object
com.arbergashi.charts.api.ArberChartBuilder
Fluent builder for quick chart panel configuration.
- Since:
- 2026-01-01
- Version:
- 1.0.0
- Author:
- Arber Gashi
-
Method Summary
Modifier and TypeMethodDescriptionaddLayer(ChartModel model, ChartRenderer renderer) addLineSeries(String name, double[] x, double[] y) addLineSeries(String name, List<T> data, ToDoubleFunction<T> xFn, ToDoubleFunction<T> yFn) build()static ArberChartBuildercreate()hints(Consumer<ChartRenderHints> config) static ArberChartBuilderof(ChartModel model, ChartRenderer renderer) withGridLayer(GridLayer gridLayer) withLegend(boolean visible) withLegendConfig(LegendConfig config) withLocale(Locale locale) withTheme(ChartTheme theme) withTooltips(boolean enabled) xAxis(Consumer<AxisConfig> config) yAxis(Consumer<AxisConfig> config)
-
Method Details
-
create
-
of
-
withTitle
-
withTheme
-
withDarkMode
-
withGridLayer
-
withTooltips
-
withLegend
-
withLegendConfig
-
withLocale
-
addLayer
-
addLineSeries
-
addLineSeries
public <T> ArberChartBuilder addLineSeries(String name, List<T> data, ToDoubleFunction<T> xFn, ToDoubleFunction<T> yFn) -
xAxis
-
yAxis
-
hints
-
build
-