Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: Grails-Google-Visualization-API 0.5.4
-
Fix Version/s: Grails-Google-Visualization-API 0.5.5
-
Labels:None
Description
Google introduced an option called "forceIFrame" which by default is set to true (https://developers.google.com/chart/interactive/docs/release_notes).
I am currently creating a dashboard using Jquery ui portlet (sortable). Everytime I drag the portlet to a new position it disappears(see before and after image). I have been checking around to find an answer and found that I need to set that "forceIFrame" to false so that my charts don't disappear when being dragged and dropped to a new position in my dashboard.
I managed to fix it by adding FORCEIFRAME("forceIFrame", [DataType.BOOLEAN]) option in your plugin to all chart classes and it works (except the deprecated ones).
Stacktrace:
| Error 2012-08-15 07:52:21,562 [http-bio-8080-exec-10] ERROR Attribute 'forceIFrame' is not a valid option for Google Visualization 'google.visualization.BarChart'!. Stacktrace follows: Message: Error processing GroovyPageView: Error executing tag <sitemesh:captureContent>: Error executing tag <g:render>: Error executing tag <grimPortlet:totalUsersByRole>: Attribute 'forceIFrame' is not a valid option for Google Visualization 'google.visualization.BarChart'! |
Would it be possible to add the "forceIFrame" option in your options in the plugin for all charts?
Thanks.
Sure, we can add it. At the moment I am really busy so I won't have too much time to look at it. Would you mind sending me a pull request to the [repository on GitHub](https://github.com/bmuschko/grails-google-visualization)?