@DomEvent(value="chart-selection") public class ChartSelectionEvent extends ComponentEvent<Chart>
source
Constructor and Description |
---|
ChartSelectionEvent(Chart source,
boolean fromClient,
Double selectionStart,
Double selectionEnd,
Double valueStart,
Double valueEnd)
Construct a ChartSelectionEvent
|
Modifier and Type | Method and Description |
---|---|
Double |
getSelectionEnd()
This value is undefined and shouldn't be considered if
ChartModel.setZoomType(Dimension) was set to Dimension.Y |
Double |
getSelectionStart()
This value is undefined and shouldn't be considered if
ChartModel.setZoomType(Dimension) was set to Dimension.Y |
Double |
getValueEnd()
This value is undefined and shouldn't be considered if
ChartModel.setZoomType(Dimension) was set to Dimension.X |
Double |
getValueStart()
This value is undefined and shouldn't be considered if
ChartModel.setZoomType(Dimension) was set to Dimension.X |
getSource, isFromClient, unregisterListener
toString
public ChartSelectionEvent(Chart source, boolean fromClient, @EventData(value="event.detail.xAxisMin") Double selectionStart, @EventData(value="event.detail.xAxisMax") Double selectionEnd, @EventData(value="event.detail.yAxisMin") Double valueStart, @EventData(value="event.detail.yAxisMax") Double valueEnd)
source
- selectionStart
- selectionEnd
- valueStart
- valueEnd
- public Double getSelectionStart()
ChartModel.setZoomType(Dimension)
was set to Dimension.Y
Dimension.X
or Dimension.XY
.public Double getSelectionEnd()
ChartModel.setZoomType(Dimension)
was set to Dimension.Y
Dimension.X
or Dimension.XY
.public Double getValueStart()
ChartModel.setZoomType(Dimension)
was set to Dimension.X
Dimension.Y
or Dimension.XY
.public Double getValueEnd()
ChartModel.setZoomType(Dimension)
was set to Dimension.X
Dimension.Y
or Dimension.XY
.Copyright © 2023. All rights reserved.