Hello again I am moving forward but I am facing a new issue... On my page I have a ChartRangeFilter and I want to modify the range when clicking on a button (button id is "ChangeRange").
I am using the following code: [...] var chartselect = new google.visualization.ChartRangeFilter(document.getElementById('chartselect')); chartselect.draw(data, options); [...] document.getElementById('ChangeRange').onclick = function(){ chartselect.setState({'range': {'start': 3, 'end': 5}}); chartselect.draw(); }; I made some tests and the function is triggered when clicking the button. But unfortunately, the range is not moving..! I checked and when using the getState() in the same function it works, I can retrieve the selected start and end. But I don't really understand how to use the setState(). => Do you know what is wrong in my piece of code? Thanks for your feed back and remarks :) -- 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/-/DqyhVQx-rzgJ. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.