public abstract class SelectionFunction extends Function implements IProcessableOption
ChartOptions object via
Events.setSelection(Function). When the user zooms in or out of chart
(i.e. when he selects a portion of the chart), a SelectionEvent is
triggered and transmitted to the server. You can react to this event on the
server side by implementing the onSelect(SelectionEvent) method.| Modifier and Type | Field and Description |
|---|---|
static String |
PROCESSING_KEY |
| Constructor and Description |
|---|
SelectionFunction(Options parentOptions) |
| Modifier and Type | Method and Description |
|---|---|
String |
getProcessingKey() |
abstract void |
onSelect(SelectionEvent event)
This method is called on the server side when the user selected a portion
of the chart (i.e. when he zoomed in or out).
|
addParameter, getBody, getFunction, setFunctionpublic static final String PROCESSING_KEY
public SelectionFunction(Options parentOptions)
public String getProcessingKey()
getProcessingKey in interface IProcessableOptionpublic abstract void onSelect(SelectionEvent event)
event - the selection event containing some information about which
portions of the chart have been selected.Copyright © 2016. All rights reserved.