Class AreaChart


  • public class AreaChart
    extends Chart
    Represents an area chart.
    • Constructor Detail

      • AreaChart

        public AreaChart​(java.lang.String name,
                         ChartOptions options,
                         AreaSeries... series)
        Represents an area chart.
        Parameters:
        name - Name of the chart (for the tag).
        options - Options of the chart.
        series - Series with the data for the chart.
    • Method Detail

      • getSeries

        public java.util.ArrayList<AreaSeries> getSeries()
        Returns:
        Serie with the data for the chart.
      • setSeries

        public void setSeries​(java.util.ArrayList<AreaSeries> series)
        Parameters:
        series - Serie 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.