graph » scroll-x, scroll-y

scroll-x, scroll-y

[ root » graph » scroll-x, scroll-y ]

Chart scrolling is an interactive chart feature that can be used on the x- and/or y-axis. Use the scroll-xand/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.


AttributeTypeInfo
barObject

To style the bar portion of the scrollbar.

{...}

handleObject

To style the handle portion of the scrollbar.

{...}

offset-x
offsetX
Mixed

Sets an x offset that will be applied to the scroll-x object.

4 | '6px' | ...

offset-y
offsetY
Mixed

Sets a y offset that will be applied to the scroll-x object.

4 | '6px' | ...