New designs for table charts loading automatically?

176 views
Skip to first unread message

dseely

unread,
Jun 4, 2015, 3:08:13 PM6/4/15
to google-visua...@googlegroups.com
I'm working with a table chart, and I'm a little confused as to which design is loading by default & why. The overview page shows the example being styled in the new 'Material Design' style (or at least similar), but when the call is run live from a page the old design loads by default. See attachments.



I know that Google have been rolling out the new design to a lot of their systems recently, so perhaps the API servers are currently in the process of being rolled over. Not a huge deal, just annoying that I'm not sure what to expect.

Daniel LaLiberte

unread,
Jun 4, 2015, 4:32:18 PM6/4/15
to google-visua...@googlegroups.com
The style of the table chart you are seeing on the documentation page at https://google-developers.appspot.com/chart/interactive/docs/gallery/table is being affected by css that is not actually part of the example code.  So this is a mistake in the documentation which we will fix so the chart and the code are consistent.  

If you want the style of the chart now, you could grab it from your debugger and create your own CSS file, but it would be better to use the className and style properties of cells and the cssClassNames option to associate your style with the chart.

--
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.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.



--
dlaliberte@Google.com   5CC, Cambridge MA
daniel.laliberte@GMail.com 9 Juniper Ridge Road, Acton MA

dseely

unread,
Jun 5, 2015, 2:19:22 PM6/5/15
to google-visua...@googlegroups.com
Thanks for the reply, this is exactly what I thought. And yes, I already grabbed the dynamic CSS from Chrome, but that felt a little hacky :/

I'll keep this in mind, and build my own styling if necessary. Thanks again!

- Dan


On Thursday, June 4, 2015 at 4:32:18 PM UTC-4, Daniel LaLiberte wrote:
The style of the table chart you are seeing on the documentation page at https://google-developers.appspot.com/chart/interactive/docs/gallery/table is being affected by css that is not actually part of the example code.  So this is a mistake in the documentation which we will fix so the chart and the code are consistent.  

If you want the style of the chart now, you could grab it from your debugger and create your own CSS file, but it would be better to use the className and style properties of cells and the cssClassNames option to associate your style with the chart.
On Thu, Jun 4, 2015 at 3:08 PM, dseely <dseel...@gmail.com> wrote:
I'm working with a table chart, and I'm a little confused as to which design is loading by default & why. The overview page shows the example being styled in the new 'Material Design' style (or at least similar), but when the call is run live from a page the old design loads by default. See attachments.



I know that Google have been rolling out the new design to a lot of their systems recently, so perhaps the API servers are currently in the process of being rolled over. Not a huge deal, just annoying that I'm not sure what to expect.

--
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-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.



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