The requested page is not available for the requested platform. You are viewing the content for Default platform.

BubbleSeries Class

The Bubble series.

Declaration

public class BubbleSeries
extends Series

Remarks

This series displays data as scatter bubbles in which a bubble's size expresses the third data dimension (weight) in addition to point arguments and values.

The following image demonstrates the Bubble series:

Bubbles

Constructors

BubbleSeries() Constructor

Initializes a new BubbleSeries class instance with default parameters.

Declaration

public BubbleSeries()

Methods

getLabel() Method

Returns the Bubble series labels' settings.

Declaration

public BubbleSeriesLabel getLabel()

Returns

Type Description
BubbleSeriesLabel

The BubbleSeriesLabel object specifying labels' parameters.

getMaxSize() Method

Returns bubbles' maximum size.

Declaration

public double getMaxSize()

Returns

Type Description
double

Bubbles' maximum size, in arguments axis units.

getMinSize() Method

Returns the minimum bubbles' size.

Declaration

public double getMinSize()

Returns

Type Description
double

Bubbles' minimum size, in arguments axis units.

getStyle() Method

Returns the Bubble series's style.

Declaration

public BubbleSeriesStyle getStyle()

Returns

Type Description
BubbleSeriesStyle

The BubbleSeriesStyle object that specifies the Bubble series's appearance settings.

isColorEach() Method

Returns the value indicating whether the series point markers should have different colors.

Declaration

public boolean isColorEach()

Returns

Type Description
boolean

true if bubbles are colored in different colors; false bubbles are colored in a color assigned to the series.

resetMinMaxSizes() Method

Resets bubbles' minimum and maximum sizes.

Declaration

public void resetMinMaxSizes()

setColorEach(boolean) Method

Specifies the value indicating whether bubbles should have different colors.

Declaration

public void setColorEach(boolean value)

Parameters

Name Type Description
value boolean

true if bubbles are colored in different colors; false bubbles are colored in a color assigned to the series.

setLabel(BubbleSeriesLabel) Method

Specifies the Bubble series's label settings.

Declaration

public void setLabel(BubbleSeriesLabel seriesLabel)

Parameters

Name Type Description
seriesLabel BubbleSeriesLabel

The BubbleSeriesLabel object specifying labels' parameters.

setMaxSize(double) Method

Specifies bubbles' maximum size, in arguments axis units.

Declaration

public void setMaxSize(double value)

Parameters

Name Type Description
value double

Bubbles' maximum size, in arguments axis units.

setMinSize(double) Method

Specifies bubbles' minimum size, in arguments axis units.

Declaration

public void setMinSize(double value)

Parameters

Name Type Description
value double

Bubbles' minimum size, in arguments axis units.

setStyle(BubbleSeriesStyle) Method

Specifies the Bubble series's style.

Declaration

public void setStyle(BubbleSeriesStyle style)

Parameters

Name Type Description
style BubbleSeriesStyle

The BubbleSeriesStyle object that specifies the Bubble series's appearance settings.