This is an ages old thread, but it's worth mentioning that if you register a
listener for error events the "id" property of the object you receive in the
callback should point to the DOM element that contains the error
notification (which you can then remove from the DOM).

A slightly better solution than what I originally proposed,
/R.

On 15 July 2011 19:52, NA <[email protected]> wrote:

> Interesting - I hadn't thought to inspect the messages.  I might try
> something with jQuery to hid all divs with ids matching the pattern
> "google-visualization-errors-".  Not sure if jQuery can do it, but
> it's worth a try.  Otherwise will prob just find the id of the
> specific message I want to hide and will hide it.
>
> I agree, though, this is an ugly solution.  But I like that I learned
> something new about the messages.
>
> thanks,
>
>
>
> On Jul 14, 10:24 am, Riccardo Govoni ☢ <[email protected]> wrote:
> > If you inspect the error messages, you'll see that they are rendered as
> DIVs
> > with progressive ids like "google-visualization-errors-0" , -errors-1 and
> so
> > on. A clunky and hack-ish way of suppressing them would be to override
> the
> > style for such divs :
> >
> > #google-visulization-errors-0 {
> >   display: none;
> >
> > }
> >
> > However a) looks like an horrible solution, b) will break as soon as the
> > naming convention for the error boxes' ids changes. Aside from this, I'm
> not
> > aware of any option that lets you suppress visual error notifications.
> >
> > /R.
> >
> > On 13 July 2011 21:58, NA <[email protected]> wrote:
> >
> >
> >
> >
> >
> >
> >
> > > Sometimes the tables and charts display error messages such as "Table
> > > has no columns".  Is there a way we can suppress these messages?
> > > Perhaps an option we can set?
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Google Visualization API" group.
> > > 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.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> 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.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
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.

Reply via email to