Indicators: Mouse Scroll Zoom in Zoom Out

Mouse Scroll Zoom in Zoom Out:

Mouse Scroll Zoom in Zoom Out

Mouse Scroll Zoom in Zoom Out

Author: Rajesh Kumar Nait

Simple and does what it says. Two small things. The wheel still scrolls the chart as well, so every notch zooms and scrolls at once. Checking Ctrl in the key flags ((int)(lparam>>32) & 8) and zooming only on Ctrl+wheel would keep normal scrolling. Also there's no OnDeinit, so CHART_EVENT_MOUSE_WHEEL stays on after you remove it. Worth switching it back off there.