Class XYSeries
- java.lang.Object
-
- com.cloudofficeprint.RenderElements.Charts.Series.XYSeries
-
- Direct Known Subclasses:
AreaSeries
,BarSeries
,BarStackedPercentSeries
,BarStackedSeries
,BubbleSeries
,ColumnSeries
,ColumnStackedPercentSeries
,ColumnStackedSeries
,LineSeries
,PieSeries
,ScatterSeries
,StockSeries
public abstract class XYSeries extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description XYSeries()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getColor()
com.google.gson.JsonObject
getJSON()
com.google.gson.JsonArray
getJSONData()
java.lang.String
getName()
java.lang.String[]
getX()
java.lang.String[]
getY()
void
setColor(java.lang.String color)
void
setName(java.lang.String name)
void
setX(java.lang.String[] x)
void
setY(java.lang.String[] y)
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Returns:
- Name of the serie.
-
setName
public void setName(java.lang.String name)
- Parameters:
name
- Name of the serie.
-
getX
public java.lang.String[] getX()
- Returns:
- X-data of the serie.
-
setX
public void setX(java.lang.String[] x)
- Parameters:
x
- X-data of the serie.
-
getY
public java.lang.String[] getY()
- Returns:
- Y-data of the serie.
-
setY
public void setY(java.lang.String[] y)
- Parameters:
y
- Y-data of the serie.
-
getColor
public java.lang.String getColor()
- Returns:
- Color of the series in CSS format.
-
setColor
public void setColor(java.lang.String color)
- Parameters:
color
- Color of the series in CSS format.
-
getJSONData
public com.google.gson.JsonArray getJSONData()
- Returns:
- JsonArray of the data of the serie.
-
getJSON
public com.google.gson.JsonObject getJSON()
- Returns:
- JSONObject with the tags for this element for the Cloud Office Print server.
-
-