Interface ChartViewCategoryListener

    • Method Detail

      • categoryInserted

        void categoryInserted​(ChartView chartView,
                              int index)
        Fired when a category is inserted into a chart view.
        Parameters:
        chartView - The chart that is changing.
        index - The index of the new category that was inserted.
      • categoriesRemoved

        void categoriesRemoved​(ChartView chartView,
                               int index,
                               Sequence<ChartView.Category> categories)
        Fired when a category is removed from a chart view.
        Parameters:
        chartView - The chart that is changing.
        index - The index of the first category that was removed.
        categories - The list of removed categories.
      • categoryKeyChanged

        void categoryKeyChanged​(ChartView chartView,
                                int index,
                                java.lang.String previousKey)
        Fired when a chart view's category key changes.
        Parameters:
        chartView - The chart that is changing.
        index - The index of the category whose key changed.
        previousKey - Previous value of the changed key.
      • categoryLabelChanged

        void categoryLabelChanged​(ChartView chartView,
                                  int index,
                                  java.lang.String previousLabel)
        Fired when a chart view's category label changes.
        Parameters:
        chartView - The chart that is changing.
        index - The index of the category whose label changed.
        previousLabel - Previous value of the changed label.