Class BarStackedPercentChart


  • public class BarStackedPercentChart
    extends Chart
    Represents a stacked bar chart where the x-axis is expressed in percentage.
    • Constructor Detail

      • BarStackedPercentChart

        public BarStackedPercentChart​(java.lang.String name,
                                      ChartOptions options,
                                      BarStackedPercentSeries... barStackedPercentSeries)
        Represents a stacked bar chart.
        Parameters:
        name - Name of the chart (for the tag).
        options - Options of the chart.
        barStackedPercentSeries - Series with the data for the chart.
    • Method Detail

      • getBarStackedPercentSeries

        public java.util.ArrayList<BarStackedPercentSeries> getBarStackedPercentSeries()
        Returns:
        BarStackedPercentSeries with the data for the chart.
      • setBarStackedPercentSeries

        public void setBarStackedPercentSeries​(java.util.ArrayList<BarStackedPercentSeries> barStackedPercentSeries)
        Parameters:
        barStackedPercentSeries - BarStackedPercentSeries 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.