Interface IsChartEvent

  • All Superinterfaces:
    HasNativeEvent
    All Known Implementing Classes:
    ChartClickEvent, ChartHoverEvent

    public interface IsChartEvent
    Interface which maps a chart event, an event generated from CHART.JS.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • getItems

        List<DatasetReference> getItems()
        Returns a list of items with dataset references related to the event.
        Returns:
        a list of items with dataset references related to the event
      • getContext

        ChartEventContext getContext()
        Returns the java script function context of CHART.JS events.
        Returns:
        the java script function context of CHART.JS events.
      • getKey

        Key getKey()
        Returns the options key where default function is stored.
        Returns:
        the options key where default function is stored
      • getChart

        IsChart getChart()
        Returns the chart instance, stored in the event as source.
        Returns:
        the chart instance