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

MarkerSeriesLabel Class

A storage of parameters of point labels of the Area, Line and Point series.

Declaration

public class MarkerSeriesLabel
extends SeriesLabel

Remarks

The following image demonstrates label parameters that can be configured.

Marker series labels

Inheritance

Inherited Members

java.lang.Object.equals(java.lang.Object)
java.lang.Object.hashCode()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.toString()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long, int)

Constructors

MarkerSeriesLabel() Constructor

Initializes a new MarkerSeriesLabel class instance with default parameters.

Declaration

public MarkerSeriesLabel()

Methods

getAngle() Method

Returns an angle on which a label is rotated around its series point.

Declaration

public float getAngle()

Returns

Type Description
float

The angle on which a label is rotated, in degrees.

Remarks

Note that angle is measured clockwise, from the positive direction of a screen's X-axis.

getStyle() Method

Returns the appearance parameters of series labels.

Declaration

public SeriesLabelStyle getStyle()

Returns

Type Description
SeriesLabelStyle

The SeriesLabelStyle object that configures the appearance of series labels.

setAngle(float) Method

Specifies an angle on which a label is rotated around its series point.

Declaration

public void setAngle(float angle)

Parameters

Name Type Description
angle float

The angle on which a label is rotated, in degrees.

Remarks

Note that angle is measured clockwise, from the positive direction of a screen's X-axis.

setStyle(SeriesLabelStyle) Method

Specifies the appearance parameters of series labels.

Declaration

public void setStyle(SeriesLabelStyle style)

Parameters

Name Type Description
style SeriesLabelStyle

The SeriesLabelStyle object that configures the appearance of series labels.