Interface FormatterCallback

  • All Superinterfaces:
    Scriptable<Object,​DatasetContext>

    public interface FormatterCallback
    extends Scriptable<Object,​DatasetContext>
    Callback interface of TreeMapChart controller to set formatter property at runtime, using the dataset context.
    Data values are converted to string.
    If values are grouped, the value of the group and the value (as string) are shown.
    This default behavior can be overridden by this interface implementation.
    A formatter can return a String (for a single line) or a List of Strings (for multiple lines, where each item represents a new line).
    Author:
    Andrea "Stock" Stocchero
    • Method Summary

      • Methods inherited from interface org.pepstock.charba.client.callbacks.Scriptable

        invoke