Hi,
What is the recommended was of adding the results of a database query to a Tee.PointXY?
Thanks,
Bruce
Adding data from a database query
Re: Adding data from a database query
Hello,
You may want to take a look at the Database tutorial here:
https://steema.com/docs/TeeChartVCLDatabase.htm
You may want to take a look at the Database tutorial here:
https://steema.com/docs/TeeChartVCLDatabase.htm
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Adding data from a database query
Hello,
Ouch, excuse me.
Check the "Data Sources" section in the demos.
If you still find problem with it, please specify what format does the data have after running the query.
Ouch, excuse me.
Check the "Data Sources" section in the demos.
If you still find problem with it, please specify what format does the data have after running the query.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Adding data from a database query
The demos do not include a database example.
I am currently using PHP to get the data, converting it to a Json array and on a row by row basis adding it to the chart. Is this the only way of doing it?
I am currently using PHP to get the data, converting it to a Json array and on a row by row basis adding it to the chart. Is this the only way of doing it?
Bruce
Re: Adding data from a database query
Hello,
An alternative would be to convert the data to a JSON structure that can be loaded as in the From JSON example.
An alternative would be to convert the data to a JSON structure that can be loaded as in the From JSON example.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |