|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.moxieapps.gwt.highcharts.client.labels.LegendLabelsData
public class LegendLabelsData
An object that represents the state information that will be passed to any custom
LegendLabelsFormatter
to allow for custom strings to be rendered as the legend
labels.
LegendLabelsFormatter.format(LegendLabelsData)
method for more details on the capabilities
that custom formatters can provide.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
public String getSeriesId()
BaseChart.getSeries(String)
method.
public String getSeriesName()
public String getPointName()
public Point getPoint()
public com.google.gwt.core.client.JavaScriptObject getNativeData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |