Minimap Demo

This demo enables the new minimap option and renders a live overview in the bottom-right corner of the chart container.

Drag the main chart to pan, use the mouse wheel or touch pinch to zoom, then check that the minimap viewport follows the visible area.

Drag the blue viewport rectangle inside the minimap to move the main chart. You can also zoom from inside the minimap with the mouse wheel.