public interface FormatterCallback
DataLabelsPlugin.ID
plugin to set formatter
property at runtime, using the chart instance and the plugin context.\n
between each line or by providing an array of strings where each item represents a new
line.Modifier and Type | Method and Description |
---|---|
String |
invoke(IsChart chart,
DataItem dataItem,
ScriptableContext context)
Returns the
formatter property at runtime, using the chart instance and the plugin context. |
String invoke(IsChart chart, DataItem dataItem, ScriptableContext context)
formatter
property at runtime, using the chart instance and the plugin context.chart
- chart instancedataItem
- value container to be formatted, Can be a simple double
, String
or a FloatingData
.context
- DataLabelsPlugin.ID
plugin context instance