Package com.priint.pubserver.dashboard
Class PieChartData.PieChartDataRecord
- java.lang.Object
-
- com.priint.pubserver.dashboard.PieChartData.PieChartDataRecord
-
- Enclosing class:
- PieChartData
public static class PieChartData.PieChartDataRecord extends java.lang.ObjectStructure definition of data for single block in charts
-
-
Constructor Summary
Constructors Constructor Description PieChartDataRecord()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.String>getColor()Get the color information of single block in Chart.java.lang.StringgetName()Gets the value of the name attribute of block in Chart.java.lang.IntegergetValue()Get the value data of single block in Chart.voidsetColor(java.lang.String color)Set the color information of single block in Chart.voidsetName(java.lang.String name)Set the value of the name attribute of block in Chart.voidsetValue(java.lang.Integer value)Set the value data of single block in Chart.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Gets the value of the name attribute of block in Chart.- Returns:
- possible object is
String
-
setName
public void setName(java.lang.String name)
Set the value of the name attribute of block in Chart.- Parameters:
name- allowed object isString
-
getValue
public java.lang.Integer getValue()
Get the value data of single block in Chart.- Returns:
Integer
-
setValue
public void setValue(java.lang.Integer value)
Set the value data of single block in Chart.- Parameters:
value-Integer
-
getColor
public java.util.Optional<java.lang.String> getColor()
Get the color information of single block in Chart.- Returns:
- RGB color value of this single bar
String
-
setColor
public void setColor(java.lang.String color)
Set the color information of single block in Chart.- Parameters:
color- (RGB color value of this single block)String
-
-