Hi Experts,
I want to implement in a NThinChartControl a Zoom-functionality and reset the zoom on Double click. I have added a Zoom and a MouseEventTool:
//----- Zoom Tool
NDataZoomTool dataZoomTool = new NDataZoomTool();
dataZoomTool.Exclusive = true;
dataZoomTool.Enabled = true;
dataZoomTool.DataZoomCallback = new
eventSink_ChartDataZoomCallback();
NThinChartControl1.Controller.Tools.Add(dataZoomTool);
NThinChartControl1.ScrollCallback = new
eventSink_ChartScrollbarCallback();
//----- MouseEventTool
serverMouseEventTool = new NServerMouseEventTool();
NThinChartControl1.Controller.Tools.Add(serverMouseEventTool);
serverMouseEventTool.MouseDoubleClick = new
eventSink_ChartDoubleClick();
When I implement just the MouseEventTool - all is working. But as soon as I implement the DataZoomTool as well, the Event
eventSink_ChartDoubleClick(...) doesnt occure anymore. The Zoom is working though.
Is there a way to reset the Zoom on double click?
Thanks for the help,
best regards,
Joern