public class AxisLabelsData extends Object
AxisLabelsFormatter to allow for custom strings to be rendered as the labels on an axis.
See the AxisLabelsFormatter.format(AxisLabelsData) method for more details on the capabilities
that custom formatters can provide.| Constructor and Description |
|---|
AxisLabelsData(com.google.gwt.core.client.JavaScriptObject data)
This constructor needs to be public scope but you should not construct this object directly, but
instead simply implement a custom
AxisLabelsFormatter and this API will pass you the
appropriate instance of this object at runtime. |
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.core.client.JavaScriptObject |
getNativeData()
Returns a pointer to the native Highchart's instance data object that this GWT
instance is wrapping.
|
double |
getValueAsDouble()
Return the value of the label as a double.
|
long |
getValueAsLong()
Return the value of the label as a long.
|
String |
getValueAsString()
Return the value of the label as a string.
|
public AxisLabelsData(com.google.gwt.core.client.JavaScriptObject data)
AxisLabelsFormatter and this API will pass you the
appropriate instance of this object at runtime.data - A reference to the native Highcharts javascript object.public double getValueAsDouble()
public long getValueAsLong()
public String getValueAsString()
public com.google.gwt.core.client.JavaScriptObject getNativeData()
Copyright © 2015. All Rights Reserved.