Hello,
This is really puzzling for me, and I wonder if anyone can help. I have reviewed the message board and the documentation but can not find the answer.
The video called "Using SQL data in a google chart" is very good although it does not give details on how to include a control to change the actual SQL query used.
This are the links to the videos:
http://www.ajaxvideotutorials.com/V1...tingData_1.swf
http://www.ajaxvideotutorials.com/V1...tingData_2.swf
http://www.ajaxvideotutorials.com/V1...tingData_3.swf
In this set of videos, they propose to use the server-side "OnDialogInitialize" event - to run the query and get the data. and after that to use the client-side "AfterGooglevisualization" event to run a javascript function and show the chart in the browser.
My problem is the following:
Together with the chart I have included buttonlist for the user to change 1 parameter ( for example the client code) and then through the "On click event" I make an ajax call back to the server in an attempt to modify the query and run the javascript function again to show the chart.
The result is that the chart gets displayed again fine, however the actual data remains the same. I�m unable to change the data set.
Can anyone help with this?
Many thanks in adavanced!!!
Best,
Javier
This is really puzzling for me, and I wonder if anyone can help. I have reviewed the message board and the documentation but can not find the answer.
The video called "Using SQL data in a google chart" is very good although it does not give details on how to include a control to change the actual SQL query used.
This are the links to the videos:
http://www.ajaxvideotutorials.com/V1...tingData_1.swf
http://www.ajaxvideotutorials.com/V1...tingData_2.swf
http://www.ajaxvideotutorials.com/V1...tingData_3.swf
In this set of videos, they propose to use the server-side "OnDialogInitialize" event - to run the query and get the data. and after that to use the client-side "AfterGooglevisualization" event to run a javascript function and show the chart in the browser.
My problem is the following:
Together with the chart I have included buttonlist for the user to change 1 parameter ( for example the client code) and then through the "On click event" I make an ajax call back to the server in an attempt to modify the query and run the javascript function again to show the chart.
The result is that the chart gets displayed again fine, however the actual data remains the same. I�m unable to change the data set.
Can anyone help with this?
Many thanks in adavanced!!!
Best,
Javier
Comment