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 absent, the API code is clearly passing an empty string to 
*document.getElementById*. In Firefox, this causes a JavaScript warning 
(not an error). Not a critical issue, but annoying.


On Sunday, August 17, 2014 9:33:02 AM UTC-4, Andrew Gallant wrote:
>
> 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 following JavaScript warning 
>> is produced: "Empty string passed to getElementById()." The message is 
>> visible in Firefox's native developer tools.
>>
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to