new TimelineDateSelector(params)
Creates a timeline date selector for a cross section chart, including the cq-timeline-controls and cq-curve-controls web components.
Parameters:
Name | Type | Description | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
object | Constructor parameters. Properties
|
- Since:
-
8.3.0
Methods
-
adjustRange()
-
Adjusts the visible range of the timeline date selector to display all curve handles. Called when the timeline date selector opens.
- Since:
-
8.3.0
-
display()
-
Shows, hides, or updates the timeline date selector.
Shows or hides the timeline date selector depending on the
stx.layout.timelineDateSelector
property. Shows the selector when the property is true; hides the selector, when the property is false.Updates the timeline date selector in response to resize events and layout events such as a curve handle being dragged or a curve control (see cq-curve-controls) being selected.
- Since:
-
8.3.0
-
drawSelector()
-
Draws all of the draggable curve handles for the timeline date selector.
- Since:
-
8.3.0