How To…Calc Chart Pos Clicked

Question

“How can I calculate the x,y position of the chart when clicked in the viewer?”

Solution

The can be accomplished by implementing the Chart.OnDrawCommandClick event to convert the mouse position to chart coordinate space.

Download: CalcChartPosClicked.zip