Class BubbleSeries
- java.lang.Object
-
- com.cloudofficeprint.RenderElements.Charts.Series.XYSeries
-
- com.cloudofficeprint.RenderElements.Charts.Series.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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.gson.JsonArray
getJSONData()
java.lang.Integer[]
getSizes()
void
setSizes(java.lang.Integer[] sizes)
-
-
-
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 classXYSeries
- Returns:
- JsonArray of the data of the serie.
-
-