I have successfully implemented AreaChart using google Chart(google-visualization),but now my need to add subtitle in the google AreaChart. Here the code which i have tried.
var options = {
width: 310,
height: 260,
chart: {
title: 'Company Performance',
subtitle: 'Sales, Expenses, and Profit: 2014-2017',
},
backgroundColor: '#000000'
};
chart.subtitle
is only available to material chartsmaterial charts use
packages: ['bar', 'line', 'scatter']
and namespce -->
google.charts
unfortunately, no material version of area charts...
chart.subtitle
is not available to core chartscore charts use
packages: ['corechart']
and namespce -->
google.visualization
but you could try adding your own subtitle, when the
'ready'
event firessee following working snippet...