Please provide a full code sample and describe the bug precisely. Thanks. - VizBoy.
2009/4/19 alisq <[email protected]> > > Hi, > > I still get the same error with getState although April 6 release > notes (latest google API release notes) mentions that this bug has > been fixed! > > Any idea where this bug is coming from? many thanks. > > > On Mar 18, 7:00 pm, VizBoy <[email protected]> wrote: > > Hi, > > > > There is a known bug with setState/getState that will be fixed in the > > upcoming version. > > Keep track of the release notes. > > If it still doesn't work after that, please repost. > > > > - VizBoy. > > > > 2009/3/17 [email protected] <[email protected]> > > > > > > > > > > > > > code: > > > function draw(response){ > > > if (response.isError()) { > > > alert('Error in query'); > > > } > > > var options = {}; > > > options['width'] = 800; > > > options['height'] = 400; > > > // options['showAdvancedPanel'] = false; > > > //options['state'] = {"colorOption":"4","xZoomedDataMin": > > > 46.62,"time":"2009-03-12","dimensions":{"iconDimensions": > > > ["dim0"]},"yZoomedDataMin":0,"yZoomedDataMax": > > > 50072,"yZoomedIn":false,"orderedByY":false,"yAxisOption":"3","xLambda": > > > 1,"iconType":"BUBBLE","yLambda":1,"iconKeySettings":[],"duration": > > > {"multiplier":1,"timeUnit":"D"},"stateVersion": > > > 3,"xAxisOption":"2","nonSelectedAlpha": > > > 0.4,"orderedByX":false,"showTrails":true,"xZoomedDataMax": > > > 82540,"sizeOption":"5","xZoomedIn":false,"playDuration":15}; > > > var data = response.getDataTable(); > > > var motionChart = new google.visualization.MotionChart > > > (document.getElementById('visualization')); > > > motionChart.draw(data, options); > > > alert('motionChart state is:'+motionChart.getState()); > > > } > > > > > 1) I use alert('motionChart state is:'+motionChart.getState()); , > > > but no response。 > > > > > 2 ) I use options['state'] , the charts do not display. > > > > > why?- Hide quoted text - > > > > - Show quoted text - > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
