Class ScatterChart
- java.lang.Object
-
- com.cloudofficeprint.RenderElements.RenderElement
-
- com.cloudofficeprint.RenderElements.Charts.Charts.Chart
-
- com.cloudofficeprint.RenderElements.Charts.Charts.ScatterChart
-
public class ScatterChart extends Chart
Represents a scatter chart.
-
-
Constructor Summary
Constructors Constructor Description ScatterChart(java.lang.String name, ChartOptions options, ScatterSeries... 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<ScatterSeries>
getSeries()
void
setSeries(java.util.ArrayList<ScatterSeries> 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
-
ScatterChart
public ScatterChart(java.lang.String name, ChartOptions options, ScatterSeries... 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<ScatterSeries> getSeries()
- Returns:
- Serie with the data for the chart.
-
setSeries
public void setSeries(java.util.ArrayList<ScatterSeries> 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.
-
-