All, First, I'm very impressed with Google Visualization...well done to all involved.
Second, my apologies if this question has already been asked and possibly answered; I could not find a similar thread but I've just joined the group and don't know my way around very well. Third, my question: are there any plans to make a Google Visualization JavaScript library available, so that it could be included in a Google Closure application (or alternatively to make it part of the Closure library)? When Closure is used to compile a HTML5/JavaScript/CSS3 application, you can create a single JavaScript library that is both minified and obfuscated. This can allow for a better user experience, due to higher performance. Plus, for a mobile application (say a native one created with PhoneGap), the application could be installed when a WiFi network is accessible and then used when only a low speed network is available, and not incur the cost of downloading the JavaScript to support Google Visualization...only the data that needed to be visualized would need to cross the network connection. Hopefully the question makes sense. I noticed this potential problem when using the Google Developer Tools (Ctrl-Shift-I) in the Chrome Browser, after compiling a "toy application" with Closure...it packed up the parts of the Closure library that I was testing with into a very small JavaScript library (less than 50K) but then required an additional load of about 430K to get the visualization tools JavaScript (links below). Loading 430K over a slow network could be pretty time consuming (my 3G connection just showed a 256 Kbps download rate, with speedtest.net, which would imply about 13 seconds to download the visualization library [13s = 430KB * 8 bits/B / 256kpbs]). >From developer tools (after application JavaScript compiled by Closure loaded) -- https://www.google.com/uds/?file=visualization&v=1.0&packages=corechart (525 B) https://www.google.com/uds/api/visualization/1.0/351cbc565e06280bb093b00ce39323d9/format+en,default,corechart.I.js (428.11 KB) -- Also, I saw on the FAQ that the answer if probably no (see below); however, I wanted to ask the question as it would seem that this stance would really limit the utilization and acceptance of the visualization tools (particularly on mobile devices). https://developers.google.com/chart/interactive/faq -- Can I use the Google Visualization API to create client-side software?Currently we do not allow developers to use the Visualization API to create client-side software. You may only use the Visualization API through the interface provided. For the fine print please refer to the Google Visualization API Terms of Service<https://developers.google.com/chart/terms> . -- Thanks in advance. Cheers -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/o0Bo2a8zzC8J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
