Class CategorySlice


  • public class CategorySlice
    extends java.lang.Object
    Represents a label and a numerical value.
    It can be used either as a slice inside a pie chart, or as a bar in a category bar chart.
    See Also:
    CategoryBarChartData, PieChartData
    • Constructor Summary

      Constructors 
      Constructor Description
      CategorySlice​(com.onwbp.base.text.UserMessage label, double value)
      Creates a category slice with the specified label and numerical value.
    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CategorySlice

        public CategorySlice​(com.onwbp.base.text.UserMessage label,
                             double value)
        Creates a category slice with the specified label and numerical value.

        Note: The label is mandatory.