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