It's worth pointing out that the chart wrapper options don't work properly when Material Charts are enabled in this way. For example the JSFiddle specifies a title, but this is not shown in the chart. I can't get it to work either.
It would be great if Google could get Material Charts to work inside chartWrapper. On Wednesday, February 4, 2015 at 2:58:47 PM UTC, Sergey wrote: > > Hi Nicholas, > > While Dan is completely correct that the API design for Material Charts is > not yet complete, that is mostly referring to the options structure. The > Material Bar Chart can safely be used with a ChartWrapper. In order to > create a Material Bar Chart, you should specify "google.charts.Bar' for the > chartType. Here is an example: http://jsfiddle.net/h5fe77at/ > > On Wed Feb 04 2015 at 12:45:18 AM 'Daniel LaLiberte' via Google > Visualization API <[email protected] <javascript:>> wrote: > >> Nicholas, >> >> The API design for Material Charts is not yet complete. Many more things >> are in the works, and compatibility with the ChartWrapper will likely be >> part of those plans. >> >> In the short term, your users may be happy to get a lite version of the >> material design by using the option { theme: 'material' } with the old >> charts. The layout of the material lite themed charts will be pretty much >> the same as for the old charts, but the colors and fonts will be about >> right. >> >> Hope that helps. >> >> On Tue, Feb 3, 2015 at 11:51 PM, Nicholas Bering <[email protected] >> <javascript:>> wrote: >> >>> Hi, >>> I help to maintain an AngularJS directive that wraps the Google Charts >>> API. The project can be found at >>> https://github.com/bouil/angular-google-chart. >>> >>> Our directive makes use of google.visualization.ChartWrapper to allow >>> the user to select the type of chart required, and simply binds to options >>> and data provided by the user. My questions are: Is ChartWrapper >>> compatible with the new Material Charts? Can we safely begin to implement >>> features to support Material Charts (if any are required) or is the API >>> design for Material Charts not yet complete? >>> >>> Honestly, I'm not too concerned about using the new charts myself just >>> yet, but I provide support for many users who have already begun to ask. >>> >>> Thanks. >>> >>> -- >>> 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 [email protected] >>> <javascript:>. >>> To post to this group, send email to [email protected] >>> <javascript:>. >>> Visit this group at >>> http://groups.google.com/group/google-visualization-api. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> >> - 978-394-1058 >> [email protected] <javascript:> 5CC, Cambridge MA >> [email protected] <javascript:> 9 Juniper Ridge Road, Acton MA >> >> -- >> 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 [email protected] >> <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at >> http://groups.google.com/group/google-visualization-api. >> 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-visualization-api. To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/3a82c356-3297-46e3-b21b-ad0ca1725f89%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
