Interface CategoryModel

    • Method Detail

      • getSeries

        Comparable<?> getSeries​(int index)
        Get a series of the specified index;
      • getCategory

        Comparable<?> getCategory​(int index)
        Get a category of the specified index;
      • getCategories

        Collection<Comparable<?>> getCategories()
        Get categories of a specified series as a collection.
      • getValue

        Number getValue​(Comparable<?> series,
                        Comparable<?> category)
        Get value of the specified series and category.
        Parameters:
        series - the series
        category - the category.
      • setValue

        void setValue​(Comparable<?> series,
                      Comparable<?> category,
                      Number value)
        add or update the value of a specified series and category.
        Parameters:
        series - the series
        category - the category.
        value - the value
      • removeValue

        void removeValue​(Comparable<?> series,
                         Comparable<?> category)
        remove the value of the specified series and category.
        Parameters:
        series - the series
        category - the category.
      • clear

        void clear()
        clear the model.