I am trying to use the motionchart inside a GWT application. The motionchart is displayed in a div which is hidden (style="display:none"). The first time I call draw on the motionchart everything works fine. However when I call the draw method a second time I get following error in the javascript console:
*(TypeError): this.d().dataChanged is not a function stack: ([object Object],[object Object])@http://www.google.com/uds/api/visualization/1.0/c044e0de584c55447c5597e76d372bc1/default,motionchart+en_US,corechart.I.js:621 * * *fileName: http://www.google.com/uds/api/visualization/1.0/c044e0de584c55447c5597e76d372bc1/default,motionchart+en_US,corechart.I.js lineNumber: 621 at Unknown.anonymous(Unknown Source) at Unknown.rD(Unknown Source) at Unknown.jD(Unknown Source) at Unknown.mD(Unknown Source) at Unknown.jZb(Unknown Source) at Unknown.nZb(Unknown Source) at Unknown.YXb(Unknown Source) at Unknown.Kj(Unknown Source) at Unknown.eU(Unknown Source) at Unknown.IU(Unknown Source) at Unknown.anonymous(Unknown Source) at Unknown.QL(Unknown Source) at Unknown.TL(Unknown Source) at Unknown.anonymous(Unknown Source) at Unknown.anonymous(Unknown Source) I tried to reproduce this error in pure Javascript in the Code Playground but I somehow stumbled over a different behavior (not sure if that is intended). When the motionchart is placed inside a hidden div (style="display:none") then the ready event is not fired. If the div is not hidden then the ready event is fired properly. Is this a bug or is it by design? See here: http://savedbythegoog.appspot.com/?id=ef4df2ecf81908147e071b4502b5a22941473170 (check the javascript console. if the ready event is fired there should be a 'ready' and 'draw' log entry) thanks in advance Uemit -- 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/-/UJeNtxwkI8QJ. 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.
