I've had some success cutting down on the white space by playing with margin widths: specifically, setting a negative width on the container div's left margin. Doesn't quite achieve what you want -- the chart doesn't get any wider -- but it does give you better control of the space.
John On Fri, Oct 29, 2010 at 4:56 AM, Andy <[email protected]> wrote: > I'm using a line chart like the one here: > http://code.google.com/apis/visualization/documentation/gallery/linechart.html > - I'd like to set the chart so that it takes up the full width of it's > containing element, however while I can set its width, and the chart > is rendered in an iframe with that width, the chart itself is not so > wide and there is white-space to the left and right of the chart (as > you can see in the documentation's example) which I want to get rid > of. Does anyone know if this is possible? > > Thanks. > > -- > 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.
