With a bit of debugging, the code apparently dislikes the "var range = Achart.getVisibleChartRange();" line... But all the examples I've referenced use this exact syntax....
The mystery deepens... On Apr 20, 9:11 am, MaxPower <[email protected]> wrote: > Hi All - > > The questions keep on coming! Now, I'm having issues with the > getVisibleChartRange method. Here's my code: > > function updateDefTab(){ > var range = Achart.getVisibleChartRange(); > var dst = new Date(range['start']); > var den = new Date(range['end']); > alert(dst + "/" + den); > > } > > This function is called when a rangechange event is thrown from the > Achart visualization. I've come to the conclusion that I'm not > assigning the range correctly, but all the documentation seems to say > otherwise. > > Any suggestions? > > Thanks! > Max -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. 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.
