Class Dataset


  • public class Dataset
    extends Object
    The class to hold chart data.
    • Constructor Detail

      • Dataset

        public Dataset()
    • Method Detail

      • getData

        public List<Float> getData()
        Get the values of this dataset.
        Returns:
        The value list.
      • setData

        public void setData​(List<Float> data)
        Set the values of this dataset.
        Parameters:
        data - The value list.
      • getBackgroundColor

        public List<String> getBackgroundColor()
        Get the background colors for each data point.
        Returns:
        The list of color strings.
      • setBackgroundColor

        public void setBackgroundColor​(List<String> backgroundColor)
        Set the background colors for each data point.
        Parameters:
        backgroundColor - The list of color strings.
      • getLabel

        public String getLabel()
        Get the label of this dataset.
        Returns:
        The label.
      • setLabel

        public void setLabel​(String label)
        Set the label of this dataset.
        Parameters:
        label - The label.
      • getStack

        public String getStack()
        Get the current stack.
        Returns:
        The stack string.
      • setStack

        public void setStack​(String stack)
        Set the current stack.
        Parameters:
        stack - The stack string.