BubbleSizeCollection

Inheritance: java.lang.Object

All Implemented Interfaces: java.lang.Iterable

public class BubbleSizeCollection implements Iterable

Represents a collection of bubble sizes for a chart series.

Remarks:

The collection allows only changing bubble sizes. To add or insert new values to a chart series, or remove values, the appropriate methods of the ChartSeries class can be used.

Empty bubble size values are represented as double#NA_N.NA_N.

Methods

MethodDescription
get(int index)Gets the bubble size value at the specified index.
getCount()Gets the number of items in this collection.
iterator()Returns an enumerator object.
set(int index, double value)Sets the bubble size value at the specified index.

get(int index)

public double get(int index)

Gets the bubble size value at the specified index.

Parameters:

ParameterTypeDescription
indexint

Returns: double - The bubble size value at the specified index.

getCount()

public int getCount()

Gets the number of items in this collection.

Returns: int - The number of items in this collection.

iterator()

public Iterator iterator()

Returns an enumerator object.

Returns: java.util.Iterator

set(int index, double value)

public void set(int index, double value)

Sets the bubble size value at the specified index.

Parameters:

ParameterTypeDescription
indexint
valuedoubleThe bubble size value at the specified index.