Hello all,
Environment: VS2013, .net 4.5, asp.net mvc (classic) controls, asp.net one solution (asp.net mvc + asp.net)
I have a chart of type Spline that contains around 1000 points. Some of the point are styled custom in order to mark some peaks. Bellow are the scenarios that should work.
1. Chart data is loaded - NO ZOOM operation: when I hover over the peak data points the client side event - ClientSideOnMouseMove - is raised and I can receive some information regarding the hovered point, in particular the PointIndex value:
ex: I hava a total of 100o points of which 7 are styles differently.
When I hover over these points the hover event give me the PointIndex informatio:\
1st point - PointIndex =100
2nd Point - PointIndex = 300
3rd Point - PointIndex = 500
.......
7th Point - PointIndex = 900
As you can see each PointIndex value is bigger that the value of the previous point, which is good because I need the order of these points for another operation.
2. Chart data is loaded - executed ZOOM operation with mouse drag: when I hover over the peak data points the client side event - ClientSideOnMouseMove - is raised and I can receive some information regarding the hovered point, in particular the Index value:
1st point - PointIndex =100
2nd Point - PointIndex = 500
3rd Point - PointIndex = 300
.......
7th Point - PointIndex = 200
As you can see each PointIndex values are not ordered from the smalles to the biggest. This happens only after I execute ZOOM on chart. I would like to know how can I preserve the normal PointIndex value because I would like to use it for some other operation.
Can you please help me with this?
Thank you,
Razvan