on 10-22-2008 11:30 AM
Dear All,
I am using Google chart api for displaying graphs on adobe.For that i need to pass the values dynamically in the url of the Image and this should happen on the click event of a button.The parameters for the graph come from two text boxes.I have tried using the javascript on the click event but this does not work.I dont know where i am going wrong.Plz Help.
Thanks & Regards,
Geet Bijlani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Geek,
I tested it. Under Reader 8.1 and 8.1.2 it works. Under Reader 9.0 I got an error message:
NotAllowedError: Security settings prevent access to this property or method.
Net.HTTP.request
I will try to solve this problem but it is maybe a security feature.
URL adress of google chart is the parameter pUrl of function googleChart. So it is dynamic.
One more notice: You must generate pdf file if you want to test it. It doesn't work under "Preview PDF" in LC Designer.
Michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Geet,
I wrote a solution here http://www.adobeforums.com/webx/.59b6ebde
(I wosn't able to write it in this forum
Michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Michal,
I did as you said but it doesn't work.Nothing happens on the click of button.
Secondly,i want to pass the values to the graph dynamically i,e if i pass the variables in the URL will it work because it doesn't work if you pass the url in binding of the image field along with the variables.
Thanks & Regards,
Geet Bijlani
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.