Hi, I'm not quite sure what you mean by "the legend is squashed". There is no such known bug. Could you perhaps reproduce the issue in a jsfiddle? Or at least post a screenshot?
On Thu, Apr 2, 2015 at 6:39 AM Alan Sparkes <[email protected]> wrote: > We are using the api to create a chart in a tab. > When you switch tabs the chart will get squished becasue the hidden > container makes the dimensions of the chart 'undetectable' to the api (at > least thats what i assume is happennng). > > The standard solution to this is to redraw the chart on the tab click. > > We have implemented this with a redraw function: eg > > function redraw(){ > > chart.draw(data, options); > } > > > This works great for the chart but the legend is still squashed / appears not > to be redrawn. > > > Is this an api bug / oddity? > > > Has anyone managed to solve this? > > > cheers > > > -- > 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. > -- 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.
