public interface FormatterCallback
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 |
format(AbstractChart<?,?> chart,
double value,
Context context)
Returns the
formatter property at runtime, using the chart instance and the plugin context. |
String format(AbstractChart<?,?> chart, double value, Context context)
formatter
property at runtime, using the chart instance and the plugin context.chart
- chart instancevalue
- to be formattedcontext
- DATALABELS plugin context instance