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
TChart AddXY behaviour and onClick events
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Simon,
Could you please send us a simple example project we can run "as-is" to reproduce the issue here?
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Thanks in advance.
Could you please send us a simple example project we can run "as-is" to reproduce the issue here?
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
File Uploaded
I have created a sample project for you to run and uploaded to the steema server. Please read the README.txt for usage.
This is using TChart 6.01.
Thanks
Simon
This is using TChart 6.01.
Thanks
Simon
Found a problem
Hi there,
I have now noticed that the value i set at design time for XValues.Order is NOT remebered. Every time i shut down Delphi and then reopen my project, the Order is Set to ioAscending. I think this may be the cause of my problems. For the time being i have set the order to loNone in the forms OnCreate event, and it seems to have fixed the problem. Im not sure if this is a problem with my TChart configuration or the TChart package.
Thanks
Simon
I have now noticed that the value i set at design time for XValues.Order is NOT remebered. Every time i shut down Delphi and then reopen my project, the Order is Set to ioAscending. I think this may be the cause of my problems. For the time being i have set the order to loNone in the forms OnCreate event, and it seems to have fixed the problem. Im not sure if this is a problem with my TChart configuration or the TChart package.
Thanks
Simon