Class BubbleSeries


  • public class BubbleSeries
    extends XYSeries
    Represents series for a bubble chart.
    • Constructor Summary

      Constructors 
      Constructor Description
      BubbleSeries​(java.lang.String name, java.lang.String[] x, java.lang.String[] y, java.lang.Integer[] sizes)
      This object represents series for a bubble chart.
    • Constructor Detail

      • BubbleSeries

        public BubbleSeries​(java.lang.String name,
                            java.lang.String[] x,
                            java.lang.String[] y,
                            java.lang.Integer[] sizes)
        This object represents series for a bubble chart.
        Parameters:
        name - Name of the chart.
        x - X-data of the chart.
        y - Y-data of the chart.
        sizes - Sizes of each of the bubbles.
    • Method Detail

      • getSizes

        public java.lang.Integer[] getSizes()
        Returns:
        Sizes of each of the bubbles.
      • setSizes

        public void setSizes​(java.lang.Integer[] sizes)
        Parameters:
        sizes - Sizes of each of the bubbles.
      • getJSONData

        public com.google.gson.JsonArray getJSONData()
        Overrides:
        getJSONData in class XYSeries
        Returns:
        JsonArray of the data of the serie.