Material Line Charts Documentation?

819 views
Skip to first unread message

Jonny Rimes

unread,
Aug 15, 2019, 10:56:14 AM8/15/19
to Google Visualization API
Are there any docs for Material Line Charts?

https://developers.google.com/chart/interactive/docs/gallery/linechart seems to act as if they just replace google.visualization.LineChart but most of the options, functions don't seem to work with it.

For example i'm trying to create an overlay based on the examples on https://developers.google.com/chart/interactive/docs/overlays however i get an error 'this.getChartLayoutInterface is not a function'

Does anyone know how to get the cli with these and how we are supposed to work with them if they aren't documented?

Daniel LaLiberte

unread,
Aug 15, 2019, 11:19:25 AM8/15/19
to Google Visualization API
Hi Jonny,

There are no separate docs for the Material Line Chart, so you have found what there is.  Unfortunately, most of the options and methods do not yet apply to the material charts.   You may be interested in trying the classic charts using the theme: 'material' option, however, which at least give you the colors and fonts of the material design, and then all the options and methods will still work.  Hope that helps.


--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/2b57f2ff-4423-4852-8c97-bf71c75e25d4%40googlegroups.com.


--
Reply all
Reply to author
Forward
0 new messages