I have a 2D pointseries with x/y coordinates.
Each point has an index on which I identify him. Like
Code: Select all
series.XValues[ Index ]
The problem now is, I can move this points on the chart by dragging them.
Eachtime I move the point I changed the coords like this way:
Code: Select all
series.XValues[ OldIndex ] := newX;
And the same for the yvalue.
After changing this TChart sorts the points in a manner that the indexes are changing. OldIndex isn't Oldindex anymore after changing x or Y Values.
How do I get the new Index for my old point ?
Any Help welcome !
Thanks in advance.