google.load("visualization", "1", {packages:["corechart"]});
var chart = new google.visualization.AreaChart(document.getElementById('chart_div'));
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/15a00519-8389-4b1d-a0da-79ce0a170ca4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
AreaChart does not require convertOptions, since it is one of the older charts. convertOptions is built for the purpose of giving us flexibility to develop a new options structure and change it at will while retaining compatibility with the Classic (documented) options structure for our new Material charts. Since AreaChart is not a Material chart, but a Classic chart, it does not support the new options structure, which means that it doesn't need convertOptions, which also (only incidentally) means it doesn't support subtitles.
On Wed, Oct 28, 2015 at 11:04 AM Chris <kain...@gmail.com> wrote:
Up until now I was able to set the google.charts.Bar.convertOptions(optionsCount) in order to show a subtitle, and it worked, but only when creating a BarChart.--
What if I want to use the convertOptions() when dealing with a AreaChart?
google.load("visualization", "1", {packages:["corechart"]});
var chart = new google.visualization.AreaChart(document.getElementById('chart_div'));Thank you very much
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/15a00519-8389-4b1d-a0da-79ce0a170ca4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.