AxisLabel Class
The axis labels options’ storage.
Declaration
public class AxisLabel
extends AxisLabelBase
Remarks
These options specify the label format, position and appearance settings.
Inherited Members
Inheritance
AxisLabel()
Initializes a new AxisLabel class instance with default parameters.
Declaration
public AxisLabel()
Methods
getPosition() Method
Returns the axis labels position.
Declaration
public AxisLabelPosition getPosition()
Returns
Type | Description |
---|---|
AxisLabelPosition | The AxisLabelPosition enumeration value specifying the axis labels’ position. |
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. |
Remarks
Refer to the Formatter class in the Android developer documentation to learn more about the format string syntax.
setPosition(AxisLabelPosition) Method
Specifies the axis labels position.
Declaration
public void setPosition(AxisLabelPosition value)
Parameters
Name | Type | Description |
---|---|---|
value | AxisLabelPosition | The AxisLabelPosition enumeration value specifying axis labels’ position. |
setTextFormat(String) Method
Specifies the axis labels’ text format pattern.
Declaration
public void setTextFormat(String format)
Parameters
Name | Type | Description |
---|---|---|
format | String | The String object specifying the formatting string. |
Remarks
Refer to the Formatter topic in the Android developer documentation to learn more about the format string syntax.