Basic Usage of scrollBar
mobile
The most basic usage of scrollBar
, used to control the number of bars in a bar chart. In this example, we create a simple bar chart to display a week's sales data, with the categorical variable year
and the numerical variable sales
. The scrollBar
and the categorical variable year
are automatically bound to control the range of data displayed.