Package com.priint.pubserver.dashboard
Class PieChartData.PieChartDataRecord
java.lang.Object
com.priint.pubserver.dashboard.PieChartData.PieChartDataRecord
- Enclosing class:
- PieChartData
Structure definition of data for single block in charts
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()Get the color information of single block in Chart.getName()Gets the value of the name attribute of block in Chart.getValue()Get the value data of single block in Chart.voidSet the color information of single block in Chart.voidSet the value of the name attribute of block in Chart.voidSet the value data of single block in Chart.
-
Constructor Details
-
PieChartDataRecord
public PieChartDataRecord()
-
-
Method Details
-
getName
Gets the value of the name attribute of block in Chart.- Returns:
- possible object is
String
-
setName
Set the value of the name attribute of block in Chart.- Parameters:
name- allowed object isString
-
getValue
Get the value data of single block in Chart.- Returns:
Integer
-
setValue
Set the value data of single block in Chart.- Parameters:
value-Integer
-
getColor
Get the color information of single block in Chart.- Returns:
- RGB color value of this single bar
String
-
setColor
Set the color information of single block in Chart.- Parameters:
color- (RGB color value of this single block)String
-