public class ChartSelectionEvent extends MouseEvent
ChartSelectionEventHandler and
register it via the BaseChart.setSelectionEventHandler(ChartSelectionEventHandler)
method in order to access selection events.| Constructor and Description |
|---|
ChartSelectionEvent(com.google.gwt.core.client.JavaScriptObject event)
This constructor is intended for internal use only.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
getClientX, getClientY, getNativeButton, getNativeEvent, getRelativeX, getRelativeY, getScreenX, getScreenY, isAltKeyDown, isControlKeyDown, isMetaKeyDown, isShiftKeyDownpublic ChartSelectionEvent(com.google.gwt.core.client.JavaScriptObject event)
ChartSelectionEventHandler.event - The native javascript object containing the details of the original event that was fired.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.Copyright © 2015. All Rights Reserved.