graph » scroll-x
scroll-x
[ root » graph » scroll-x]
Chart scrolling is an interactive chart feature that can be used on the x- and/or y-axis. Use the scroll-x
and/or scroll-y
object(s) to style the bar and handle portions of the scrollbar(s). Refer to the Zooming, Scrollbar, and Preview Chart Tutorial for more information.
Note: Make sure the zooming
attribute is set to true in the scale-x
and/or scale-y
object(s). You can also specify the starting and ending values that the chart will zoom to by default with the zoom-to
or zoom-to-values
array.
Attribute | Type | Description |
---|---|---|
bar | Object | = Styles the scroll bar |
handle | Object | Styles the scroll handle |
offsetX offset-x | Number | Sets an x-offset to apply when positioning the object. |
offsetY offset-y | Number | Sets an y-offset to apply when positioning the object. |