As I recall, manually changing the state does not fire the statechange event.
On Sunday, December 23, 2012 5:32:49 AM UTC-5, Yoram wrote: > > If I change the state in the "statechange" event handler wouldn't that > cause an endless loop?? > > > On Thursday, December 20, 2012 9:13:49 PM UTC+2, asgallant wrote: >> >> You can programmatically snap the range filter by setting the state of >> the filter in a "statechange" event handler. >> >> On Thursday, December 20, 2012 9:57:51 AM UTC-5, Yoram wrote: >>> >>> Hi all >>> >>> I have a ChartRangeFilter (of dates) that filter data of a ColumnChart. >>> I also have 3 buttons, week, month and quarter to programmatically >>> change the ChartRangeFilter range (each button triggers a function that set >>> the ChartRangeFilter state range). >>> >>> Is there a way to force the ChartRangeFilter range to begin on the first >>> day of the week and when I drag the range right ,for example, snap the >>> range to the first day of the next week?? >>> >>> Thanks, >>> Yoram >>> >>> -- 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/-/KCGMpBtZ6wYJ. 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.
