Package io.keikaiex.util
Interface ChartsCustomizer
-
public interface ChartsCustomizerCallback interface for customizing chart rendering within the data-to-chart pipeline.Implementations of this interface can intercept and modify chart rendering configurations before the chart is displayed. This allows for dynamic adjustments, styling changes, or additional logic to be applied based on the provided chart metadata and runtime state.
Configuration
To apply a custom implementation, specify the class in the
io.keikai.chart.customizer.classlibrary property:<library-property> <name>io.keikai.chart.customizer.class</name> <value>com.example.MyChartCustomizer</value> </library-property>- Since:
- 6.2.0
- Author:
- jameschu
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcustomize(ZssCharts chart, io.keikai.model.SChart chartInfo)Customize the chart before it is rendered.
-
-
-
Method Detail
-
customize
void customize(ZssCharts chart, io.keikai.model.SChart chartInfo)
Customize the chart before it is rendered.- Parameters:
chart- theZssChartsinstance representing the chart object that will be rendered, allowing direct modification of its properties.chartInfo- theSChartmetadata describing the chart's configuration, source data, and other relevant information. This object is read-only and must not be modified by the implementation.
-
-