TChart AddXY behaviour and onClick events
Posted: Thu Jan 10, 2008 8:30 am
Hi all,
Im using Tchart 6.01
Ive just been trying to debug my prog and running into trouble. I have a function that adds a number of points to a point series using AddXY().
I add all the points and also grab the result from the function - im assuming this to be the actual index of the point in the series. I have noticed here i am getting duplicates for the result - surely this is wrong.
I also have a ondblclick function for this pointseries, and have noticed that when i click on the series point, the ValueIndex property is incorrect (i have set ordering of my series to ioNone) but it looks like the valueindex IS the ordered index value.
This point series has a datetime value for x and constant value for y. The datetime values are nto necessarily input in chronological order to the series ( i did notice that when chronology is broken, the result from ADDXY() stays the same number).
Is anyone experincing the same problem? is this normal behaviour?
Thanks
Simon
Im using Tchart 6.01
Ive just been trying to debug my prog and running into trouble. I have a function that adds a number of points to a point series using AddXY().
I add all the points and also grab the result from the function - im assuming this to be the actual index of the point in the series. I have noticed here i am getting duplicates for the result - surely this is wrong.
I also have a ondblclick function for this pointseries, and have noticed that when i click on the series point, the ValueIndex property is incorrect (i have set ordering of my series to ioNone) but it looks like the valueindex IS the ordered index value.
This point series has a datetime value for x and constant value for y. The datetime values are nto necessarily input in chronological order to the series ( i did notice that when chronology is broken, the result from ADDXY() stays the same number).
Is anyone experincing the same problem? is this normal behaviour?
Thanks
Simon