public class LegendLabelsData extends Object
LegendLabelsFormatter to allow for custom strings to be rendered as the legend
labels.
See the LegendLabelsFormatter.format(LegendLabelsData) method for more details on the capabilities
that custom formatters can provide.| Constructor and Description |
|---|
LegendLabelsData(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
LegendLabelsFormatter 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.
|
Point |
getPoint()
For pie charts, return a GWT point instance that is connected to the Highcharts JS
point instance associated with the legend label.
|
String |
getPointName()
For pie charts, return the name of the point (e.g.
|
String |
getSeriesId()
Retrieve the unique id of the series that the point is a part of which received the event.
|
String |
getSeriesName()
Return the name of the series that the legend label applies to (e.g.
|
public LegendLabelsData(com.google.gwt.core.client.JavaScriptObject data)
LegendLabelsFormatter and this API will pass you the
appropriate instance of this object at runtime.data - A reference to the native Highcharts javascript object.public String getSeriesId()
BaseChart.getSeries(String) method.public String getSeriesName()
public String getPointName()
public Point getPoint()
public com.google.gwt.core.client.JavaScriptObject getNativeData()
Copyright © 2015. All Rights Reserved.