Is it possible to define the chart width as a percentage? For a responsive design? In the chart options, I've defined the chart width and height, but is there a way to make this flexible?
--
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-visualization-api+unsub...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/6687a3f0-ccc8-4ef1-83e4-f99477954d30%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Here's a responsive bar chart as an example.Need the meta tag for it to be responsive<meta name="viewport" content="width=device-width, initial-scale=1">Also needwindow.addEventListener("resize", drawBarChart, false)Google Charts doesn't center the title or have subtitles, so I created my own.Thanks for letting me know the font suggestion didn't work.
On Tue, Apr 10, 2018 at 6:36 AM, Al Lemieux <al.le...@nielsen.com> wrote:
Is it possible to define the chart width as a percentage? For a responsive design? In the chart options, I've defined the chart width and height, but is there a way to make this flexible?
--
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-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/6687a3f0-ccc8-4ef1-83e4-f99477954d30%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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-visualization-api+unsub...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/CAFyZTc_WMByJhCmVVwFw3oxUiOTBmvubX507%2B7xHwbzwLXzgZw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/CAFyZTc_WMByJhCmVVwFw3oxUiOTBmvubX507%2B7xHwbzwLXzgZw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
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-visualization-api+unsub...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/CAL4SAKTj7Win2h0W5bDLqbYJttRxvWqd7Q0x4Sw8gqaksBUehA%40mail.gmail.com.