AxisLabel Class

The axis labels options' storage.

Declaration

public class AxisLabel
extends AxisLabelBase

These options specify the label format, position and appearance settings.

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

AxisLabel() Constructor

Initializes a new AxisLabel class instance with default parameters.

Declaration

public AxisLabel()

Methods

Constructors

AxisLabel.getPosition() Method

Returns the axis labels position.

Declaration

public AxisLabelPosition getPosition()

Returns

Type Description
AxisLabelPosition

The AxisLabelPosition enumeration value specifying the axis labels' position.

AxisLabel.getTextFormat() Method

Returns the axis labels text's format pattern.

Declaration

public String getTextFormat()

Returns

Type Description
String

The String object specifying the formatting string.

Refer to the Formatter class in the Android developer documentation to learn more about the format string syntax.

AxisLabel.setPosition(AxisLabelPosition) Method

Specifies the axis labels position.

Declaration

public void setPosition(AxisLabelPosition value)

Parameters

Type Name Description
AxisLabelPosition value

The AxisLabelPosition enumeration value specifying axis labels' position.

AxisLabel.setTextFormat(String) Method

Specifies the axis labels' text format pattern.

Declaration

public void setTextFormat(String format)

Parameters

Type Name Description
String format

The String object specifying the formatting string.

Refer to the Formatter topic in the Android developer documentation to learn more about the format string syntax.