Interface SingleValueCategoryModel

    • Method Detail

      • getCategory

        Comparable<?> getCategory​(int index)
        Get category of the specified index (0 based).
        Parameters:
        index - the index of the category.
      • getValue

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

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

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

        void clear()
        clear the model.