I understand. In most cases, I think that our charts should adopt to the div's size on redrawing when no size is given in the options. Maybe as a work-around you can just resize the div (maybe that what the scale function does, I don't know) and make sure that each chart is redrawn whenever its container size changes (there should be an event for that, no?)
Viz Kid On Mon, Aug 15, 2011 at 10:09 AM, NA <[email protected]> wrote: > Thanks for the suggestion, but I don't want to do that for design/code > structure reasons. I am writing the resize functionality in such a > way that it would be agnostic to the div's contents and can be > resuable across various UIs. In fact, the divs might not always have > GVIZ charts in them, they might just have regular text/images/html. > > I tried using the jQuery "scale" functionality, but didn't get far. > That sounded promising, though; I thought scaling might have a better > chance than resizing... > > -- > 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.
