Class BarStackedChart


  • public class BarStackedChart
    extends Chart
    Represents a stacked bar chart.
    • 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 class RenderElement
        Returns:
        JSONObject with the tags for this element for the Cloud Office Print server.