Interface FormatterCallback
-
- All Known Implementing Classes:
PercentageCallback
public interface FormatterCallbackCallback interface ofDataLabelsPlugin.IDplugin to setformatterproperty at runtime, using the plugin context.
Labels can be displayed on multiple lines by using the newline character\nbetween each line or by providing an array of strings where each item represents a new line.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringinvoke(DataLabelsContext context, DataItem dataItem)Returns the formatted label value.
-
-
-
Method Detail
-
invoke
String invoke(DataLabelsContext context, DataItem dataItem)
Returns the formatted label value.- Parameters:
context-DataLabelsPlugin.IDplugin context instancedataItem- value container to be formatted.
Can be a simpledouble,Stringor aFloatingData.- Returns:
- the label value to be showed
-
-