!!!###!!!title=Basic Usage of scrollBar——VisActor/VChart demo!!!###!!!!!!###!!!description=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.!!!###!!!

Basic Usage of scrollBar

Component
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.

PX
x
PX
%