|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.moxieapps.gwt.highcharts.client.ToolTipData
public class ToolTipData
An object that represents the state information that will be passed to any custom
ToolTipFormatter
to allow for custom strings to be included within the tooltip area.
See the ToolTipFormatter.format(ToolTipData)
method for more details on the capabilities
that custom formatters can provide.
Method Summary | |
---|---|
double |
getPercentage()
Return the percentage value of the point (which represents the point's percentage of the total). |
double |
getPercentage(int index)
Return the percentage value of the point at a given index (for shared tooltips), which represents the point's percentage of the total. |
Point |
getPoint()
Create a new GWT point instance that is connected to the Highcharts JS point instance associated with this tooltip. |
Point |
getPoint(int index)
Create a new GWT point instance that is connected to the Highcharts JS point instance at a given index (for shared tooltips) associated with this tooltip. |
String |
getPointName()
Return the name of the point (e.g. |
String |
getPointName(int index)
Return the name of the point (e.g. |
Point[] |
getPoints()
Create a new GWT point instance for each values in the array of values provided that are connected to the Highcharts JS point instances associated with this tooltip (shared tooltips only). |
int |
getPointsLength()
For shared tool tips only, returns the number of points that are available in the collection of data points that were passed to the tooltip (which should reflect the number of series in the chart.) |
String |
getSeriesId()
Retrieve the unique id of the series that the point is a part of. |
String |
getSeriesId(int index)
Retrieve the unique id of the series that a point at the given index (for shared tooltips) is a part of. |
String |
getSeriesName()
Return the name of the series that the point is a part of. |
String |
getSeriesName(int index)
Return the name of the series that the point at a given index (for shared tooltips) is a part of. |
double |
getTotal()
Return the total value at this point's x value. |
double |
getTotal(int index)
Return the total value at a point at a given index's x value (for shared tooltips). |
long |
getTotalAsLong()
Return the total value at this point's x value as a long. |
long |
getTotalAsLong(int index)
Return the total value at a point at a given index's x value as a long (for shared tooltips). |
double |
getXAsDouble()
Return the x value of the point as a double. |
double |
getXAsDouble(int index)
Return the x value of the point at the given index as a double. |
long |
getXAsLong()
Return the x value of the point as a long. |
long |
getXAsLong(int index)
Return the x value of the point at the given index as a long. |
String |
getXAsString()
Return the x value of the point as a string. |
String |
getXAsString(int index)
Return the x value of the point at the given index as a string. |
double |
getYAsDouble()
Return the y value of the point as a double. |
double |
getYAsDouble(int index)
Return the y value of the point as a double given the index of a specific point to retrieve (shared tooltips only). |
long |
getYAsLong()
Return the y value of the point as a long. |
long |
getYAsLong(int index)
Return the y value of the point at a given index as a long. |
String |
getYAsString()
Return the y value of the point as a string. |
String |
getYAsString(int index)
Return the y value of the point at a given index as a string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public double getPercentage()
public double getPercentage(int index)
index
- The index of the point in the array to retrieve.
public String getSeriesId()
BaseChart.getSeries(String)
method.
public String getSeriesId(int index)
BaseChart.getSeries(String)
method.
index
- The index of the point in the array to retrieve the series from.
public String getSeriesName()
public String getSeriesName(int index)
index
- The index of the point in the array to retrieve the series from.
public Point getPoint()
public Point getPoint(int index)
index
- The index of the point in the array to retrieve.
public Point[] getPoints()
getPointsLength()
method instead.
public int getPointsLength()
public String getPointName()
public String getPointName(int index)
index
- The index of the point in the array to retrieve the name from.
public double getTotal()
public double getTotal(int index)
index
- The index of the point in the array to retrieve the value from.
public long getTotalAsLong()
public long getTotalAsLong(int index)
index
- The index of the point in the array to retrieve the value from.
public double getXAsDouble()
public double getXAsDouble(int index)
index
- The index of the point in the array to retrieve the value from.
public long getXAsLong()
public long getXAsLong(int index)
index
- The index of the point in the array to retrieve the value from.
public String getXAsString()
public String getXAsString(int index)
index
- The index of the point in the array to retrieve the value from.
public double getYAsDouble()
public double getYAsDouble(int index)
index
- The index of the point in the array to retrieve.
public long getYAsLong()
public long getYAsLong(int index)
index
- The index of the point in the array to retrieve.
public String getYAsString()
public String getYAsString(int index)
index
- The index of the point in the array to retrieve.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |