Mysql With chart
Hello,
I just download the javascript library, and I have a question regarding the connection of all components with Mysql, is there a simple way to json transport for example in php.
Can we just use Ajax from jquery, if have you any example.
I tried the grid component that's run with jquery GetJson, but not graph
Thanks a lot for your help
Christophe
SIGN IN To post a reply.
6 Replies
DP
Deepaa Pragaasam
Syncfusion Team
September 8, 2015 01:31 PM UTC
Hi Christophe,
It is possible to get data using ajax from php. We have preparing a sample based on your requirement.
Will update the sample within one business day (10th September 2015)
Regards,
Deepaa.
It is possible to get data using ajax from php. We have preparing a sample based on your requirement.
Will update the sample within one business day (10th September 2015)
Regards,
Deepaa.
WE
weibel
September 8, 2015 05:10 PM UTC
Hello,
Attachment: Archive_ab48341b.zip
Thanks for your answer, and find attached a zip file with the data.php and the text file is just the output in json format of the data.php
best regards
Christophe
Attachment: Archive_ab48341b.zip
DP
Deepaa Pragaasam
Syncfusion Team
September 9, 2015 10:34 AM UTC
Hi Cristophe,
We have analyzed the sample and found that you have missed to use query in the chart.To retrieve data from the datamanager query is important for rendering the chart .
We have analyzed the sample and found that you have missed to use query in the chart.To retrieve data from the datamanager query is important for rendering the chart .
Code Snippet:
var data = new ej.DataManager({ url: "http://localhost/data.php/", crossDomain: true });
var query = new ej.Query();
var query = new ej.Query();
[JS]
We have modified the data.php to obtain the Json data in array format as below.
[PHP]

[PHP]
I have attached the sample for your reference
Sample
Sample
Screenshot:
Chart rendered from data MySQL transported using PHP

Chart rendered from data MySQL transported using PHP
Please let us know if you have any concern
Regards,
Deepaa.
Regards,
Deepaa.
CC
Chad Church
Syncfusion Team
September 23, 2015 06:20 PM UTC
Hello Joshua,
Find bellow the
link from the forum :
https://www.syncfusion.com/forums/120170/mysql-with-chart
I tried the
example they send me, I just change the mysql configuration, and the grid i
working not the chart.
Thanks for your
help
SK
Sanjith Kesavan
Syncfusion Team
September 24, 2015 08:36 AM UTC
Hi Christophe,
Thanks for your reply. Please let us know if you need further assistance on this.
Regards,
Sanjith K.
Thanks for your reply. Please let us know if you need further assistance on this.
Regards,
Sanjith K.
SK
Sanjith Kesavan
Syncfusion Team
September 24, 2015 02:10 PM UTC
Hi Christophe,
Please ignore the previous response.
Regards,
Sanjith K.
Please ignore the previous response.
Regards,
Sanjith K.
SIGN IN To post a reply.
- 6 Replies
- 4 Participants
-
WE weibel
- Sep 7, 2015 05:16 PM UTC
- Sep 24, 2015 02:10 PM UTC