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.




AttributeTypeDescription
barObject= Styles the scroll bar
handleObjectStyles the scroll handle
offsetX
offset-x
NumberSets an x-offset to apply when positioning the object.
offsetY
offset-y
NumberSets an y-offset to apply when positioning the object.