Class BarChart


  • public class BarChart
    extends Chart
    Represents a bar chart.
    • Constructor Detail

      • BarChart

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

      • getBarSeries

        public java.util.ArrayList<BarSeries> getBarSeries()
        Returns:
        BarSeries with the data for the chart.
      • setBarSeries

        public void setBarSeries​(java.util.ArrayList<BarSeries> barSeries)
        Parameters:
        barSeries - BarSeries 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.