Group: Forum Members
Last Active: 8 Years Ago
Posts: 7,
Visits: 17
|
I wanted to use NZoomTool to zoom a chart by scrolling the mouse middle wheel, this is the code snippet:
var zoomTool = new NZoomTool(); zoomTool.BeginDragMouseCommand = new NMouseCommand(MouseAction.Wheel, MouseButtons.Middle, 1); nChartControl.Controller.Tools.Add(_zoomTool);
The result is that it doesn't work at all, the chart cannot be zoomed when I scrolled the middle mouse wheel. Can anyone know if I did something wrong? Thank you!
|