Class DoughnutChart


  • public class DoughnutChart
    extends Chart
    Represents a doughnut chart.
    • Constructor Detail

      • DoughnutChart

        public DoughnutChart​(java.lang.String name,
                             ChartOptions options,
                             PieSeries... pieSeries)
        Represents a doughnut chart.
        Parameters:
        name - Name of the chart (for the tag).
        options - Options of the chart.
        pieSeries - Series with the data for the chart.
    • Method Detail

      • getPieSeries

        public java.util.ArrayList<PieSeries> getPieSeries()
        Returns:
        PieSeries with the data for the chart.
      • setPieSeries

        public void setPieSeries​(java.util.ArrayList<PieSeries> pieSeries)
        Parameters:
        pieSeries - PieSeries 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.