Class AreaChart
- java.lang.Object
-
- com.cloudofficeprint.RenderElements.RenderElement
-
- com.cloudofficeprint.RenderElements.Charts.Charts.Chart
-
- com.cloudofficeprint.RenderElements.Charts.Charts.AreaChart
-
public class AreaChart extends Chart
Represents an area chart.
-
-
Constructor Summary
Constructors Constructor Description AreaChart(java.lang.String name, ChartOptions options, AreaSeries... series)
Represents an area chart.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.gson.JsonObject
getJSON()
java.util.ArrayList<AreaSeries>
getSeries()
void
setSeries(java.util.ArrayList<AreaSeries> series)
-
Methods inherited from class com.cloudofficeprint.RenderElements.Charts.Charts.Chart
getOptions, getTemplateTags, setOptions
-
Methods inherited from class com.cloudofficeprint.RenderElements.RenderElement
getName, getValue, setName, setValue
-
-
-
-
Constructor Detail
-
AreaChart
public AreaChart(java.lang.String name, ChartOptions options, AreaSeries... series)
Represents an area chart.- Parameters:
name
- Name of the chart (for the tag).options
- Options of the chart.series
- Series with the data for the chart.
-
-
Method Detail
-
getSeries
public java.util.ArrayList<AreaSeries> getSeries()
- Returns:
- Serie with the data for the chart.
-
setSeries
public void setSeries(java.util.ArrayList<AreaSeries> series)
- Parameters:
series
- Serie with the data for the chart.
-
getJSON
public com.google.gson.JsonObject getJSON()
- Specified by:
getJSON
in classRenderElement
- Returns:
- JSONObject with the tags for this element for the Cloud Office Print server.
-
-