Thanks Daniel, material theme works ok for me at the moment. Marco
On Saturday, January 31, 2015 at 8:15:04 PM UTC+1, Daniel LaLiberte wrote: > > Marco, > > Not all the old options work in the new charts yet. If you want the new > style with the old charts, you can try the 'theme': 'material' option. > > On Sat, Jan 31, 2015 at 6:24 AM, Marco Natalini <[email protected] > <javascript:>> wrote: > >> Hello >> I'm trying to use new Material Chart version by loading version 1.1 of >> the library. >> I've set various kinds of options, like curveType animation and >> focusTarget, but they don't works. >> >> This is my option object: >> >> var options = { >> title: "my title", >> legend: { position: 'bottom' }, >> width: "100%", >> focusTarget: 'category', >> curveType: 'function', >> smoothingFactor: 0.8, >> chartArea: {width: '90%', height: '80%'}, >> animation:{duration:1000, easing: 'out'} >> }; >> Then I convert options with convertOptions method like this: >> chart.draw(data, google.charts.Line.convertOptions(options)); >> >> maybe I forgot something? >> >> Thanks for help. >> >> Marco >> >> -- >> 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]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
