Class LineChart


  • public class LineChart
    extends Chart
    This class represents line charts.
    • Constructor Detail

      • LineChart

        public LineChart​(java.lang.String name,
                         ChartOptions options,
                         LineSeries... lineseries)
        Represents a line chart.
        Parameters:
        name - Name of the chart (for the tag).
        options - Options of the chart.
        lineseries - Series with the data for the chart.
    • Method Detail

      • getLineseries

        public java.util.ArrayList<LineSeries> getLineseries()
        Returns:
        Lineseries with the data for the chart.
      • setLineseries

        public void setLineseries​(java.util.ArrayList<LineSeries> lineseries)
        Parameters:
        lineseries - Lineseries 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.