• Open in:

Zoomable Value Axis

Zoomable in any direction

The chart can support zooming in any direction. For that it has two settings: scrollbarX and scrollbarY. Both can be set with an instance of a Scrollbar, and configured individually.

More about zooming of axes

Zooming with cursor

Chart cursor can be set up to perform a plethora of tasks. In this demo we have set cursor’s behavior to "zoomY" which means that cursor will select and zoom vertically.

More about chart cursor

Build this chart with AI

The prompt below can be used to build this chart with AI. For best coding results, use the most advanced AI models, like Claude Opus 4.6 and GPT-5.3-Codex. For more info and tips, check out amCharts AI docs.

Create a line chart with 2,000 daily data points featuring a zoomable Y-axis with a vertical scrollbar. Allow click-drag vertical zoom and mouse-wheel vertical zoom with horizontal pan. Show a semi-transparent filled area beneath the line. Include an XY cursor with vertical indicator line only, tooltips, minor grid lines, and entrance animation. Use amCharts 5 library.

Demo source