JavaScript is disabled on your browser.
public class GeneralChartData
extends Object
Structure definition of data for charts(line, area, bar) in dashboards
Constructor Summary
Constructors
Method Summary
All Methods Instance Methods Concrete Methods
Get the colors information in Chart.
Gets the list values for all blocks in Chart.
void
Set the colors information in Chart.
void
Sets the list values for all blocks in Chart.
void
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Constructor Details
GeneralChartData
public GeneralChartData ()
Method Details
getName
Returns:
- name of Chart String
setName
public void setName (String name)
Parameters:
name - of Chart
getData
Gets the list values for all blocks in Chart.
Returns:
possible object is
List of Map
setData
Sets the list values for all blocks in Chart.
Parameters:
data - possible object is
List of Map
getColors
Get the colors information in Chart.
Returns:
Map
where key String is a name of single bar in block of chart (Should one of key from getData() }
and value is String RGB color value of this single bar
setColors
Set the colors information in Chart.
Parameters:
colors - Map
where key String is a name of single bar in block of chart (Should one of key from getData() }
and value is String RGB color value of this single bar.