If you hide the div the ATL is in, it won't really render well. What I did was take advantage of the zIndex property and then "stack" all my graphs on top of one another using the correct absolute positioning of all the divs.
Then, a simple JavaScript method to "flip" the one I want to the front, and it's done. Very fast. Bob On Nov 18, 5:37 am, MC Get Vizzy <[email protected]> wrote: > could you just wait for the user to select a chart, and then draw it? > > > > On Tue, Nov 17, 2009 at 7:26 PM, Bin Jiang(姜宾) <[email protected]> wrote: > > Hi, > > I would like to ask, How to Hide some of the Annotated Time Line > > Chart. > > Since I did Multiple-Query to get 5 graphs in one page. > > But Initially I just want to show one of them, then the user can use > > buttons to choose which chart to show! > > I tried use "display:none" and "display:block" to do this by > > Javascript and CSS, but every time, there is a popup alert > > says:"Error: Container is undefined or no width". > > > There is anyway to block the popup? or better to do this charts 'show' > > and 'hide' thing. > > > Thanks & Regards > > > -- > > > 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]<google-visualization- > > api%[email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-visualization-api?hl=. -- 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=.
