I have a line graph where the x axis is date time. My data is in a Foxpro cursor and I want to be able to pass a date time value as the X value. How can I convert the value to a value to pass to the AddXY method?
I am looping through the cursor and passing the values rather than using a recordset.
thanks
pete
AddXY from Foxpro with a Datetime value for X
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi pete,
You should add DateTime values to series as doubles and then set TChart1.Series(0).XValues.DateTime=True.
You should add DateTime values to series as doubles and then set TChart1.Series(0).XValues.DateTime=True.
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 |