OK, I've done more digging, and here are my findings: I was wrong to say that 1.x is the same as 1.1 (and you were right to suggest that). 1.x is neither 1.0 nor 1.1. It's a third, hidden version. This version, BTW, is part of our effort to provide fixed versions, but that's besides the point. Last week we made a change to that hidden version, and that change contains a bug that manifests only if all of the following 3 conditions are met: - Use Firefox (and I'm not sure if this includes FF12; it's possible the bug only manifest on FF11 and below. Are you still on FF11?) - forceIFrame is true (which is the default in that version, so you don't have to do anything to meet this condition) - Call chart.draw() at least twice without waiting for the 'ready' event in between
So I assume this what happened for you. This bug also effects 1.0 and 1.1 today. I'll fix the bug, but the fix will go live only in the next version (not even the current release candidate). In general, we recommend the following: - Don't use 1.x. Use only 1.0 or 1.1, as documented<https://developers.google.com/chart/interactive/docs/library_loading_enhancements#loadthevisualizations>for the Google Visualization API. - Don't rely on explicitly setting the forceIFrame option in the long term. It's undocumented, and we may remove it completely in the future. Given all that, I can recommend you implement one of the following: - Wait for the 'ready' event between draw() calls. - Load version 1.1 for now, and change to 1.0 when the current release candidate will become stable. No need to explicitly set forceIFrame. - Explicitly set forceIFrame to false for now, and remove it when the current release candidate will become stable. Always load version 1.0. Hope this helps. On Thu, May 31, 2012 at 10:24 PM, Andrea Dawkins <[email protected]>wrote: > On Thursday, May 31, 2012 1:45:38 PM UTC-4, Yuval Ronen wrote: > > As far as I understand, "1.x" is a synonym for "1.1", so you were always >> using the latest release candidate, and not the latest stable version. >> > The only explanation I can surmise is that the loader gave me a variation > other than 1.1. I found the 1.x piece of advice somewhere buried in these > messages awhile back. Other than that, I'm not sure. > > >> You're encouraged to subscribe to either group or the google-chart-tools- >> **announcements group, where new releases (and release candidates) >> are announced. >> > Good idea! I will definitely subscribe. However, the latest knowledge > won't help our already released software versions in the field. > > It's weird that setting forceIFrame = false solved your problem, since in >> 1.1 that's the default value of forceIFrame. I'm confused... >> > I agree, weird... Whatever the explanation, it is working now with that > boolean set explicitly on the options. > > This is a long standing issue. Providing fixed version has many > drawbacks, and we still couldn't make it work well. > I understand. I hope this is still on your roadmap, because it has > definite implications in the field. I realize this error was something > special about my implementation, but it worked before... it would be nice > to have a controlled release so something doesn't suddenly break on us. :) > > Thanks again for your quick responses. > > > >> >> >>> >>> >>> >>> On Thursday, May 31, 2012 12:55:09 PM UTC-4, Yuval Ronen wrote: >>>> >>>> I don't understand. Are your charts broken in 1.0 or 1.1 or both? Does >>>> changing the value of forceIFrame fixes it? Please let us know if we have a >>>> bug in 1.1, so we could fix it before the release candidate is released to >>>> stable. >>>> >>>> On Thu, May 31, 2012 at 5:56 PM, asgallant >>>> <[email protected]>wrote: >>>> >>>>> forceIFrame is a chart option. Previously, most charts were drawn >>>>> inside iFrames, the new standard is to not use iFrames. Set this option >>>>> to >>>>> true to force the charts to draw inside an iFrame. >>>>> >>>>> >>>>> On Thursday, May 31, 2012 10:45:15 AM UTC-4, Andrea Dawkins wrote: >>>>>> >>>>>> Yuval, >>>>>> I had the set the api load option to "1.x" because my GWT wrapped >>>>>> google visualizations stopped showing up in FireFox. This update must >>>>>> have >>>>>> broken it again. I am trying to get to the bottom of it, the root cause. >>>>>> Where can I find the forceIframe boolean, and how does that effect the >>>>>> output? Is there a canvas option instead? >>>>>> >>>>>> Thanks, >>>>>> Andrea >>>>>> >>>>>> >>>>>> On Thursday, May 24, 2012 11:06:40 AM UTC-4, Yuval Ronen wrote: >>>>>>> >>>>>>> Note that this version will flip the default value of the >>>>>>> forceIFrame option (corecharts, GeoChart, TreeMap, Gauge) from true to >>>>>>> false. If you relied on the existence of the iframe, we especially >>>>>>> recommend testing your code with the release candidate, and also take >>>>>>> into >>>>>>> account the existence of the iframe is considered >>>>>>> an implementation detail, and we might remove this option completely in >>>>>>> the >>>>>>> future. >>>>>>> >>>>>>> On Thu, May 24, 2012 at 11:38 AM, Jinji <[email protected]> wrote: >>>>>>> >>>>>>>> Release candidate 31.1 of the Google Visualization API was pushed >>>>>>>> to 1.1 yesterday. >>>>>>>> >>>>>>>> Planned release date: 4-Jun >>>>>>>> >>>>>>>> Enjoy >>>>>>>> >>>>>>>> >>>>>>> -- >>>>> 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/* >>>>> *ms**g/google-visualization-api/-**/**RQuXZ6ETD7MJ<https://groups.google.com/d/msg/google-visualization-api/-/RQuXZ6ETD7MJ> >>>>> . >>>>> >>>>> To post to this group, send email to google-visualization-api@**googl* >>>>> *egroups.com <[email protected]>. >>>>> To unsubscribe from this group, send email to >>>>> google-visualization-api+**unsub**[email protected]<google-visualization-api%[email protected]> >>>>> . >>>>> For more options, visit this group at http://groups.google.com/**group >>>>> **/google-visualization-**api?hl=**en<http://groups.google.com/group/google-visualization-api?hl=en> >>>>> . >>>>> >>>> >>>> >>> On Thursday, May 31, 2012 12:55:09 PM UTC-4, Yuval Ronen wrote: >>>> >>>> I don't understand. Are your charts broken in 1.0 or 1.1 or both? Does >>>> changing the value of forceIFrame fixes it? Please let us know if we have a >>>> bug in 1.1, so we could fix it before the release candidate is released to >>>> stable. >>>> >>>> On Thu, May 31, 2012 at 5:56 PM, asgallant >>>> <[email protected]>wrote: >>>> >>>>> forceIFrame is a chart option. Previously, most charts were drawn >>>>> inside iFrames, the new standard is to not use iFrames. Set this option >>>>> to >>>>> true to force the charts to draw inside an iFrame. >>>>> >>>>> >>>>> On Thursday, May 31, 2012 10:45:15 AM UTC-4, Andrea Dawkins wrote: >>>>>> >>>>>> Yuval, >>>>>> I had the set the api load option to "1.x" because my GWT wrapped >>>>>> google visualizations stopped showing up in FireFox. This update must >>>>>> have >>>>>> broken it again. I am trying to get to the bottom of it, the root cause. >>>>>> Where can I find the forceIframe boolean, and how does that effect the >>>>>> output? Is there a canvas option instead? >>>>>> >>>>>> Thanks, >>>>>> Andrea >>>>>> >>>>>> >>>>>> On Thursday, May 24, 2012 11:06:40 AM UTC-4, Yuval Ronen wrote: >>>>>>> >>>>>>> Note that this version will flip the default value of the >>>>>>> forceIFrame option (corecharts, GeoChart, TreeMap, Gauge) from true to >>>>>>> false. If you relied on the existence of the iframe, we especially >>>>>>> recommend testing your code with the release candidate, and also take >>>>>>> into >>>>>>> account the existence of the iframe is considered >>>>>>> an implementation detail, and we might remove this option completely in >>>>>>> the >>>>>>> future. >>>>>>> >>>>>>> On Thu, May 24, 2012 at 11:38 AM, Jinji <[email protected]> wrote: >>>>>>> >>>>>>>> Release candidate 31.1 of the Google Visualization API was pushed >>>>>>>> to 1.1 yesterday. >>>>>>>> >>>>>>>> Planned release date: 4-Jun >>>>>>>> >>>>>>>> Enjoy >>>>>>>> >>>>>>>> >>>>>>> -- >>>>> 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/* >>>>> *ms**g/google-visualization-api/-**/**RQuXZ6ETD7MJ<https://groups.google.com/d/msg/google-visualization-api/-/RQuXZ6ETD7MJ> >>>>> . >>>>> >>>>> To post to this group, send email to google-visualization-api@**googl* >>>>> *egroups.com <[email protected]>. >>>>> To unsubscribe from this group, send email to >>>>> google-visualization-api+**unsub**[email protected]<google-visualization-api%[email protected]> >>>>> . >>>>> For more options, visit this group at http://groups.google.com/**group >>>>> **/google-visualization-**api?hl=**en<http://groups.google.com/group/google-visualization-api?hl=en> >>>>> . >>>>> >>>> >>>> -- >>> 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/-**/dooAMguXQlcJ<https://groups.google.com/d/msg/google-visualization-api/-/dooAMguXQlcJ> >>> . >>> To post to this group, send email to google-visualization-api@** >>> googlegroups.com <[email protected]>. >>> To unsubscribe from this group, send email to google-visualization-api+* >>> *[email protected]<google-visualization-api%[email protected]> >>> . >>> For more options, visit this group at http://groups.google.com/** >>> group/google-visualization-**api?hl=en<http://groups.google.com/group/google-visualization-api?hl=en> >>> . >>> >> >> -- > 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/-/DUboUEUjGDIJ. > 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. > -- 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.
