Hi there, sorry for the late answer, just back from vacations... I have not many updates though:
- as far as Tables are concerned, pagination seems indeed to affect the size computation when the table is initially hidden inside an inactive tab. Removing pagination (try your example without the 'page' and 'pageSize' options) restores the behavior (aka, setting width and height works again). I'll have to dig deeper into this. My bet is that when pagination is enabled, the Table visualization utilizes size information from the container to determine its layout and this fails when the Table is placed inside an inactive jQuery UI tab (which has display:none, hence all queries for CSS widths and heigths will return 0). As a workaround, you can draw the charts only when the tab that contains them is shown. At this point it will be visible (display != none) and everything looks fine. Try http://jsfiddle.net/G862D/8/ . Not sure whether this is feasible within your project. - Pagination does indeed improve performances (the visualization doesn't have to draw all the rows if you only interested in a subset, so do use it when possible). /R. On 25 July 2011 12:55, NA <[email protected]> wrote: > bump... > > > On Jul 20, 7:50 pm, NA <[email protected]> wrote: > > bump... I'm a little lost on what's happening here and why the > > behavior seems inconsistent. Perhaps a Google insider can explain > > what's going on if they know? Or an outsider that knows more than I > > know? :) > > > > I tried a few more guesses about how to control this, but they didn't > > work as expected and there were still odd inconsistencies. > > -- > 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.
