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,
double value,
ScriptableContext context)
Returns the
formatter property at runtime, using the chart instance and the plugin context. |
String invoke(IsChart chart, double value, ScriptableContext context)
formatter
property at runtime, using the chart instance and the plugin context.chart
- chart instancevalue
- to be formattedcontext
- DataLabelsPlugin.ID
plugin context instance