onSelectedRangeChange() Event
Description
This event is dispatched when the selected range of the chart is changed.
A range changing action causes sequentially dispatching of three onSelectedRangeChange events with different phases: "start", "progress" and "finish" accordingly.
Note: Some range changing actions (e.g. mouse drag) can dispatch multiple "progress" phases of this event.
Arguments
- startDate:Date
Represents the start date of newly (or previously for "start" phase") selected range
- endDate:Data
Represents the end date of newly (or previously for "start" phase) selected range
- phase:String
Represents range selection action phase: "start", "progress" or "finish".
- sender:String
Represents range selection initiators entity: "scrollbar", "scroller", "rangePicker", "rangePresets", "mouseWheel", "mouseSelect", "mouseDrag" or "external"
Samples
Online HTML/JavaScript Sample
Online HTML/JavaScript Sample
Online HTML/JavaScript Sample
Online HTML/JavaScript Sample
Online HTML/JavaScript Sample
Online HTML/JavaScript Sample
Online HTML/JavaScript Sample
Online HTML/JavaScript Sample
Online HTML/JavaScript Sample
Online HTML/JavaScript Sample
Online HTML/JavaScript Sample
Online HTML/JavaScript Sample
See also
None