public interface LegendLabelsCallback
Modifier and Type | Method and Description |
---|---|
List<LegendLabelItem> |
generateLegendLabels(IsChart chart,
List<LegendLabelItem> defaultLabels)
Generates legend items for each thing in the legend.
|
List<LegendLabelItem> generateLegendLabels(IsChart chart, List<LegendLabelItem> defaultLabels)
chart
- chart instancedefaultLabels
- list of labels created by CHART.JS using the out of the box generate labels callback.null
, uses the default implementation