|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.moxieapps.gwt.highcharts.client.events.MouseEvent org.moxieapps.gwt.highcharts.client.events.ChartSelectionEvent
public class ChartSelectionEvent
Provides access to the raw information provided by Highcharts when a user selects a portion
of the chart, including the axis values of the selection. This class should
not be instantiated directly, but instead you should create a ChartSelectionEventHandler
and
register it via the BaseChart.setSelectionEventHandler(ChartSelectionEventHandler)
method in order to access selection events.
Constructor Summary | |
---|---|
ChartSelectionEvent(com.google.gwt.core.client.JavaScriptObject event)
This constructor is intended for internal use only. |
Method Summary | |
---|---|
double |
getXAxisMax()
Return the maximum value of the selection range of the first X axis. |
double |
getXAxisMax(int axisIndex)
Return the maximum value of the selection range on the requested X axis. |
long |
getXAxisMaxAsLong()
Return the maximum value of the selection range of the first X axis, converting the value to a long value first. |
long |
getXAxisMaxAsLong(int axisIndex)
Return the maximum value of the selection range on the requested X axis, converting the value to a long value first. |
double |
getXAxisMin()
Return the minimum value of the selection range of the first X axis. |
double |
getXAxisMin(int axisIndex)
Return the minimum value of the selection range on the requested X axis. |
long |
getXAxisMinAsLong()
Return the minimum value of the selection range of the first X axis, converting the value to a long value first. |
long |
getXAxisMinAsLong(int axisIndex)
Return the minimum value of the selection range on the requested X axis, converting the value to a long value first. |
double |
getYAxisMax()
Return the maximum value of the selection range of the first Y axis. |
double |
getYAxisMax(int axisIndex)
Return the maximum value of the selection range on the requested Y axis. |
long |
getYAxisMaxAsLong()
Return the maximum value of the selection range of the first Y axis, converting the value to a long value first. |
long |
getYAxisMaxAsLong(int axisIndex)
Return the maximum value of the selection range on the requested Y axis, converting the value to a long value first. |
double |
getYAxisMin()
Return the minimum value of the selection range of the first Y axis. |
double |
getYAxisMin(int axisIndex)
Return the minimum value of the selection range on the requested Y axis. |
long |
getYAxisMinAsLong()
Return the minimum value of the selection range of the first Y axis, converting the value to a long value first. |
long |
getYAxisMinAsLong(int axisIndex)
Return the minimum value of the selection range on the requested Y axis, converting the value to a long value first. |
Methods inherited from class org.moxieapps.gwt.highcharts.client.events.MouseEvent |
---|
getClientX, getClientY, getNativeButton, getNativeEvent, getRelativeX, getRelativeY, getScreenX, getScreenY, isAltKeyDown, isControlKeyDown, isMetaKeyDown, isShiftKeyDown |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChartSelectionEvent(com.google.gwt.core.client.JavaScriptObject event)
ChartSelectionEventHandler
.
event
- The native javascript object containing the details of the original event that was fired.Method Detail |
---|
public double getXAxisMin()
getXAxisMin(int)
method if you need the value of a different X axis.
public long getXAxisMinAsLong()
getXAxisMinAsLong(int)
method
if you need the value of a different X axis, or the getXAxisMin()
method if you need a floating point value instead.
public double getXAxisMin(int axisIndex)
axisIndex
- The index (zero based) of the X axis for which you'd like
to retrieve the minimum value of the selection event.
public long getXAxisMinAsLong(int axisIndex)
axisIndex
- The index (zero based) of the X axis for which you'd like
to retrieve the minimum value of the selection event.
public double getXAxisMax()
getXAxisMax(int)
method if you need the value of a different X axis.
public long getXAxisMaxAsLong()
getXAxisMaxAsLong(int)
method
if you need the value of a different X axis, or the getXAxisMax()
method if you need a floating point value instead.
public double getXAxisMax(int axisIndex)
axisIndex
- The index (zero based) of the X axis for which you'd like
to retrieve the maximum value of the selection event.
public long getXAxisMaxAsLong(int axisIndex)
axisIndex
- The index (zero based) of the X axis for which you'd like
to retrieve the maximum value of the selection event.
public double getYAxisMin()
getYAxisMin(int)
method if you need the value of a different Y axis.
public long getYAxisMinAsLong()
getYAxisMinAsLong(int)
method
if you need the value of a different Y axis, or the getYAxisMin()
method if you need a floating point value instead.
public double getYAxisMin(int axisIndex)
axisIndex
- The index (zero based) of the Y axis for which you'd like
to retrieve the minimum value of the selection event.
public long getYAxisMinAsLong(int axisIndex)
axisIndex
- The index (zero based) of the Y axis for which you'd like
to retrieve the minimum value of the selection event.
public double getYAxisMax()
getYAxisMax(int)
method if you need the value of a different Y axis.
public long getYAxisMaxAsLong()
getYAxisMaxAsLong(int)
method
if you need the value of a different Y axis, or the getYAxisMax()
method if you need a floating point value instead.
public double getYAxisMax(int axisIndex)
axisIndex
- The index (zero based) of the Y axis for which you'd like
to retrieve the maximum value of the selection event.
public long getYAxisMaxAsLong(int axisIndex)
axisIndex
- The index (zero based) of the Y axis for which you'd like
to retrieve the maximum value of the selection event.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |