Hi,
hideDataColumns() doesn't seem to be working for me. I've created my chart, made it global so I can query it from the Chrome console, and yet nothing happens when I call hideDataColumns. The chart has 4 data columns.
If anyone has any advice, please share! I looked through this forum but couldn't find anything that helped.
My chart object is created:
chart = new google.visualization.AnnotatedTimeLine(document.getElementById('chart_div'));
chart.draw(data, {
displayAnnotations: true,
zoomStartTime: addMonths(new Date(), -2),
dateFormat: 'HH:mm MMMM dd, yyyy',
allowRedraw: true
});
Here is an example Chrome console session (which results in nothing changing):
chart
chart.hideDataColumns(2)
undefined
chart.hideDataColumns([1, 2])
undefined