Nevron Forum

How to implement NDataZoomTool with Mouse Wheel?

https://www.nevron.com/Forum/Topic5425.aspx

By Woohyun Kim - Friday, July 29, 2011

I want to use NDataZoomTool with mouse wheel. if i wheel up then zoom-in, wheel down then zoom-out.
I read two article related with my issue. but code in the article doesn't work properly.

http://support.nevron.com/KB/a158/use-mouse-wheel-to-operate-zoom-tool-in-the-chart.aspx
http://forum.nevron.com/shwmessage.aspx?forumid=1&messageid=4993


especially, the code in below doesn't catch a mouse's wheel events. (from second link)

wheelZoom.BeginDragMouseCommand = new NMouseCommand(MouseAction.Wheel, MouseButtons.Left, 0);


Development Version : Nevron .NET Vision 2010.1.
By Nevron Support - Friday, July 29, 2011

Hi Kim,

The mouse wheel feature is not present in the original 2010.1 version - it was added in one of the SPs. You need to use 2011.1 in order for it to work - there are some small details that we need to touch there and the SP will be available soon.