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
            });

(the "addMonths()" function being the same 
as http://stackoverflow.com/a/1648448/221001 )

Here is an example Chrome console session (which results in nothing 
changing):

chart
sm
chart.hideDataColumns(2)
undefined
chart.hideDataColumns([1, 2])
undefined


-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-visualization-api/-/bbBvYNZeX5kJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to