This is a demo tutorial. While there is no step-by-step commentary available (yet), the live demo below is fully functional. Feel free to open it for full source code.
Do you know that XYChartScrollbar
is not some mystical new class, but rather a full fledged XYChart
. This means that we can do with it anything we can do with a regular chart, including adding axis ranges. This demo does exactly that.
See the Pen amCharts 4: Axis ranges in XYChartScrollbar by amCharts team (@amcharts) on CodePen.