Class DataLabelsContext


  • public final class DataLabelsContext
    extends AbstractDatasetContext
    The option context is used to give contextual information when resolving options for DataLabelsPlugin.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • getLabel

        public LabelItem getLabel()
        Returns the label options of plugin.
        Returns:
        the label options of the plugin
      • isConsistent

        protected boolean isConsistent()
        Description copied from class: ChartContext
        Returns true if the context is consistent.
        Custom context (the plugin ones) should extend it and check if the context is consistent before invoking the callback.
        Overrides:
        isConsistent in class ChartContext
        Returns:
        true if the context is consistent