Class LineChart
- java.lang.Object
-
- com.cloudofficeprint.RenderElements.RenderElement
-
- com.cloudofficeprint.RenderElements.Charts.Charts.Chart
-
- com.cloudofficeprint.RenderElements.Charts.Charts.LineChart
-
public class LineChart extends Chart
This class represents line charts.
-
-
Constructor Summary
Constructors Constructor Description LineChart(java.lang.String name, ChartOptions options, LineSeries... lineseries)
Represents a line chart.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.gson.JsonObject
getJSON()
java.util.ArrayList<LineSeries>
getLineseries()
void
setLineseries(java.util.ArrayList<LineSeries> lineseries)
-
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
-
LineChart
public LineChart(java.lang.String name, ChartOptions options, LineSeries... lineseries)
Represents a line chart.- Parameters:
name
- Name of the chart (for the tag).options
- Options of the chart.lineseries
- Series with the data for the chart.
-
-
Method Detail
-
getLineseries
public java.util.ArrayList<LineSeries> getLineseries()
- Returns:
- Lineseries with the data for the chart.
-
setLineseries
public void setLineseries(java.util.ArrayList<LineSeries> lineseries)
- Parameters:
lineseries
- Lineseries 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.
-
-