Making Bar Chart Scrollable

When we have a lot of data in a bar graph see example below is it possible to make this scrollable?
Any suggestions or tips are welcome.

Thanks in advance

Chart occupied the container where it is initialize. The chart can not be scrollable by itself.

We would recommend you to group values or display labels only for certain items (labels are defined by template that can be a function).

Thank you Alexandra for the quick reply but I’m still not sure how to do it.
In the examples they show a graph for 10 years (2000 - 2010).
Say I would like to display 1900-2000 so 100 bar graphs and make it scrollable in the container which has only the width of 10 bar graphs or selecting the decade via a template as a function as you describe in your solution.
Do you have some sample code for this?

You may place the container with Chart into another container with overflow property. I’ve attached the demo.
chart.zip (33.7 KB)

Thank you Alexandra for the demo that did the job! :smiley: