Hi,

Yatharth Agarwal has left the following comment at Loading Google charts from API http://www.google-melange.com/gci/task/view/google/gci2013/5277586288541696:


Code Spec Flexibility


The way it is implemented now is that it returns some HTML code that includes JS script tags that load the Chart visualization API and modifies an element of a hard-coded ID in which the chart is loaded.

That means we cannot have multiple charts one one page as the id of the element is hard-coded in the wrapper. If the intention was just to have a separate URL per page, then we might as well just return an HTML element containing a direct URL to GChart as the source in the reutrn value.


Also, that element to be modified is not returned either, and the HTML file has to have it added separately. If we have to modify the HTML files whenever we want to use the wapper anyway (trouble-some), why don't we include the external script in the HTML too? That way when we have to use many charts on the same page, the script won't have to be loaded twice.


So my question is, can the working of the new wrapper be modified? It'll mean having to make small updates to where the wrapper is called too. I may be misunderstanding things grossly. 10x :)

Also, Sean, when is the script task going to be uploaded?


Greetings,
The Google Open Source Programs Team


---
You are receiving this message because you are subscribed to Loading Google charts from API. To stop receiving these messages, go to: http://www.google-melange.com/gci/task/view/google/gci2013/5277586288541696.

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Tracker mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-tracker

Reply via email to