Show HN: Google Charts done in Canvas, side project
mattgreer.org
mattgreer.org
All the routines are public, there is no need to go through the API.
ui.ServerChart Extends goog.ui.Component
Will construct a chart using Google's chartserver.
is there some way to stop it talking to Google's chartserver?
There is no way to make it work without going through the Google chartserver.
It talks to google chart server.
goog.ui.ServerChart.CHART_SERVER_URI = 'http://chart.apis.google.com/chart';
It won't work without talking to the server.Also, there are many other Javascript visualization libraries besides the Google Chart API that you might want to know about (if you did't). All of them are open and can be locally run.
Check out e.g.
JavaScript InfoVis Toolkit http://thejit.org/
You can write your code in Processing or JavaScript, which is nice if you want to take advantage of the Processing library without having to learn a specific language.
If you're starting a new project, or even have some work invested in Protovis, I'd migrate it to D3. Working with a dead library isn't the best idea.
It's Canvas that IE has trouble with. The fix, in fact, is to convert your Canvas calls to SVG so that IE can render them.
My original post though:
"SVG has worked in every IE version since 5."
My experience here, and wikipedia, say otherwise:
"The use of SVG on the web is still limited by the lack of support in older versions of Internet Explorer (IE) which (as of December 2010) is the most widely-used browser. The most widely deployed version of IE (version 8) does not support SVG.[46][47] However, IE9 (released March 14, 2011) does support the basic SVG feature set.[48]"
and:
"Internet Explorer, up to and including IE8, was the only major browser not to provide native SVG support. Native support became partially available in IE9 (the current version of IE, as of March 2011),[48] including embedding SVG-file into HTML using “object” tag as well as “img” tag. IE8 and older require a plug-in to render SVG content."
From: http://en.wikipedia.org/wiki/Scalable_Vector_Graphics#Suppor...
IE has had VML (not SVG) since version 5. VML is similar, but not the same.