Here's a link to a picture. I did use the web inspector on Chrome to see everything, I edited the CSS so you can see how much white space is there. Well, look at the picture :p you'll see! Pardon the black boxes it's "secret" data.
With the web inspector a couple interesting things were revealed. The div that the pie chart is in, for some reason, is located beneath the "rectangle" element that makes up the chart. That has a size of 700x15, the rectangle is sized of all the white space (700 x 300). The element "dashboard" encompasses everything with a 1158 x 92 size. That usually adds white space via the "auto" adjusted height of CSS (I specified the height so you could see the chart's white space in the pic). Well, there it is! Let me know if you need anything else. On Oct 13, 4:24 pm, Riccardo Govoni ☢ <[email protected]> wrote: > When you say 'dashboard', do you mean the google.visualization.dashboard > mentioned > inhttp://code.google.com/apis/chart/interactive/docs/gallery/controls.html? > In that case, I'd like to know more, since those dashboards shouldn't use > any space: the dashboard itself does not occupy any visible space, only the > charts and controls part of it do. > > For charts, the chartArea option is usually the one that works best, along > with other minor tricks (such as legend placement, axis font-sizing and > such). > > You can use your browser web inspector to have a look at the sizes of each > DOM element and see where space is going. > > If you have a live example somewhere, we could have a look and help figuring > out where the problem is. > -- R. > > On 13 October 2011 20:25, Tday <[email protected]> wrote: > > > > > > > > > It seems like there's an extraordinary amount of whitespace that the > > dashboard and charts add when drawn. I have a dashboard almost 700 > > pixels tall, but probably 400 of that is simply white space. Same > > goes for a piechart. I've tried using chart area, but to no avail. > > > Any ideas, I've looked through past documentation on this issue-- > > solutions are pretty scarce it seems. I think I just must be doing > > something wrong. > > > -- > > 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.
