Class LabelFormatter
Object
|
+--LabelFormatter
- class
LabelFormatter
Formatter for values to be displayed as labels for a chart axis.
In order to define a custom formatter, the formatValue() method
has to be replaced with a custom method.
Defined in lspushpage.js
Constructor Summary |
LabelFormatter
()
Creates an object to be used as a custom formatter for chart labels.
|
Method Summary |
String
|
formatValue(<Number> val)
Event handler that is called in order to get the formatted text that
represents a specified value.
|
LabelFormatter
LabelFormatter()
formatValue
String formatValue(<Number> val)
Event handler that is called in order to get the formatted text that
represents a specified value.
Default implementation: The javascript String representation
of the numeric value is used.
Parameters:
val
- a value to be formatted.
Returns:
the formatted text to be used.
Lightstreamer HTML Client API
Documentation generated by
JSDoc on Tue May 22 11:46:54 2012