How to resize charts?

2,184 views
Skip to first unread message

kismilan

unread,
Nov 23, 2009, 7:59:51 AM11/23/09
to Google Visualization API
I use pie chart and bar chart, they are both in form of iframe. So it
do not resize automatically resize when I resize their container. I
used to attach a 'resize' event to the container. Everytime the
container is resized, the charts will be redrawed. This ways works
fine except in IE.

I want to know whether the visualization itself support resize event
and I think this should be supported!

VizWiz

unread,
Nov 25, 2009, 3:37:53 AM11/25/09
to google-visua...@googlegroups.com
The current charts does not support the resize event.
If you redraw the chart after each resize, it should work on IE as well.

--

You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To post to this group, send email to google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualizati...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=.



Charms Styler

unread,
Jun 20, 2013, 11:33:33 AM6/20/13
to google-visua...@googlegroups.com
It would make a good feature, if they provide the ability to resize the Chart as how you do it on a textarea in chrome.

-Charms

Daniel LaLiberte

unread,
Jun 21, 2013, 8:20:22 AM6/21/13
to google-visua...@googlegroups.com
Charms,

Letting the user resize the chart by dragging a corner or edge does sound like it would be useful in many situations.  There could be complications, however, since charts are sometimes laid out with assumptions about the size that could then be violated.  So this would probably have to be an option that may be enabled or disabled for each chart.  Feel free to add it as a suggestion for enhancement on the issues page so we can track it: https://code.google.com/p/google-visualization-api-issues/issues/list

dan


On Thu, Jun 20, 2013 at 11:33 AM, Charms Styler <charms...@gmail.com> wrote:
It would make a good feature, if they provide the ability to resize the Chart as how you do it on a textarea in chrome.

-Charms

--
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 google-visualizati...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.



--
dlaliberte@Google.com   562D 5CC, Cambridge MA
daniel.laliberte@GMail.com 9 Juniper Ridge Road, Acton MA
Reply all
Reply to author
Forward
0 new messages