Class PieChartData.PieChartDataRecord

java.lang.Object
com.priint.pubserver.dashboard.PieChartData.PieChartDataRecord
Enclosing class:
PieChartData

public static class PieChartData.PieChartDataRecord extends Object
Structure definition of data for single block in charts
  • Constructor Details

    • PieChartDataRecord

      public PieChartDataRecord()
  • Method Details

    • getName

      public String getName()
      Gets the value of the name attribute of block in Chart.
      Returns:
      possible object is String
    • setName

      public void setName(String name)
      Set the value of the name attribute of block in Chart.
      Parameters:
      name - allowed object is String
    • getValue

      public Integer getValue()
      Get the value data of single block in Chart.
      Returns:
      Integer
    • setValue

      public void setValue(Integer value)
      Set the value data of single block in Chart.
      Parameters:
      value - Integer
    • getColor

      public Optional<String> getColor()
      Get the color information of single block in Chart.
      Returns:
      RGB color value of this single barString
    • setColor

      public void setColor(String color)
      Set the color information of single block in Chart.
      Parameters:
      color - (RGB color value of this single block) String