Class

ac.FloatDataTypeFormatter

Simple float value formatter for axis labels.

Summary

Constructors
ac.FloatDataTypeFormatter()
ac.FloatDataTypeFormatter(pattern)
Methods
format(value)
getDefaultFormattingPattern()
setFormattingPattern(pattern)

Constructor detail

ac.FloatDataTypeFormatter()

Creates a new instance of ac.FloatDataTypeFormatter using default pattern.

ac.FloatDataTypeFormatter(pattern)

Creates a new instance of ac.FloatDataTypeFormatter with passed pattern.

Parameters

* pattern (text)

Method detail

format(value)

Formats the given value which has to be of type ac.FloatDataType.

Parameters

* value (ac.DataType or the child class) the value to format.

Returns

* text in formatted value

getDefaultFormattingPattern()

RETURN VALUE

setFormattingPattern(pattern)

PARAMETERS