[visualization-api] Re: ChartWrapper.draw() can produce a JavaScript warning in Firefox

2014-08-18 Thread Andrew Gallant
Looks like you've found a bug (albeit the lowest impact bug I've ever seen); I'll file a bug report on it. The fix is likely as simple as adding a check for a null/empty string, but on the other hand, the bug doesn't impact functionality so it may be a while before anyone gets around to

[visualization-api] Re: ChartWrapper.draw() can produce a JavaScript warning in Firefox

2014-08-17 Thread Andrew Gallant
Yes, and it should pass that error. You cannot draw a chart if you do not provide the target container's ID. On Saturday, August 16, 2014 9:26:24 PM UTC-4, Nathan Whittaker wrote: In Firefox (v31), if ChartWrapper.draw() is called without the *opt_container_ref* parameter defined, the

[visualization-api] Re: ChartWrapper.draw() can produce a JavaScript warning in Firefox

2014-08-17 Thread Nathan Whittaker
Sorry, I should mention that the container ID is previously passed in to the ChartWrapper's constructor. As you may have overlooked, the *opt_container_ref* parameter is optional (falling back to what was passed in for a container ID to the constructor). In the case that the parameter is

[visualization-api] Re: ChartWrapper.draw() can produce a JavaScript warning in Firefox

2014-08-17 Thread Andrew Gallant
Can you post example code that replicates this problem? I've never seen it when you pass the container ID properly. On Sunday, August 17, 2014 12:37:23 PM UTC-4, Nathan Whittaker wrote: Sorry, I should mention that the container ID is previously passed in to the ChartWrapper's constructor.

[visualization-api] Re: ChartWrapper.draw() can produce a JavaScript warning in Firefox

2014-08-17 Thread Nathan Whittaker
Here's a fiddle: http://jsfiddle.net/yzq32cL7/ Bare in mind, it needs to run in Firefox and the warnings are visible in the native developer tools (not Firebug). On Sunday, August 17, 2014 8:02:45 PM UTC-4, Andrew Gallant wrote: Can you post example code that replicates this problem? I've