Hello all,

We are considering making a possibly disruptive change to the ChartWrapper, 
where the global namespace will no longer be preferred to resolve the 
chartType option. Instead, we will first look under the 
'google.visualization' namespace for the chart type and then defer to 
global if the lookup fails.

*Who will this affect?* If you're currently using the ChartWrapper to load 
Google charts, this will *NOT* affect you. This will only affect you if you 
override Google charts in the global namespace (i.e. make your own global 
LineChart) and use the ChartWrapper to create it.

*What should I do?* If you are going to be affected by this change, you 
should either rename your charts so that they don't share the same name 
as Google charts, refer to your custom charts in the 'window' namespace 
(i.e. 'window.LineChart' or 'window.GeoChart'), or put your chart under 
your own namespace and refer to it like that (i.e. 
'custom.namespace.LineChart = function...' and refer to by chartType: 
'custom.namespace.LineChart').

Happy coding!
- Sergey

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to