graph » legend » scroll
scroll
[ root » graph » legend ]
To enable legend scrolling, add a max-items
attribute (specify the maximum number of legend items you want displayed) and an overflow
attribute (set the value to scroll
) to the legend
object. Use the scroll
object to style the bar and handle portions of the scrollbar. Refer to the Legend Tutorial for more information.
Attribute | Type | Description |
---|---|---|
bar | Object | Styles the scroll bar |
handle | Object | Styles the scroll handle |