Hi,
this is how I have done it on a recent chart and it works fine...
// Define the Column chart
var mychart = new google.visualization.ChartWrapper({
'chartType': 'ColumnChart',
'containerId': 'chart1',
'options':
{
'width': 800,
'height': 500,
'isStacked': 'true',
'legend': 'right',
'hAxis': {
'textStyle': {'fontSize': 12},
'textPosition': 'out',
'slantedText': 'true',
'slantedTextAngle': 40
'title': 'Tracked Categories',
},
'title': 'EMEA - % change month',
},
// Instruct the chart on what columns to use for display
// from the data in DataTable.
'view': {'columns': x}
});
Hope this helps
Tony
On Nov 4, 1:20 pm, Riccardo Govoni ☢ <
battleho...@gmail.com> wrote:
> More likely
>
> options['hAxis'] = {'title': 'asdf' };
>
> or
>
> options['hAxis'] = {};
> options['hAxis']['title'] = "asdf";
>
> Otherwise I suspect you'd end up with an undefined property when executing
> the last line without the one before it.
>
> - R.
>