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