Hi, This is indeed a bug, thanks for reporting. We are working on fixing it, so expect a fix in the near future. Keep track of the release notes.
Regards, VizBoy. On Fri, May 29, 2009 at 8:38 AM, Scott G <[email protected]> wrote: > > The visulization toobar states that userprefs is an option in the > specification of type htmlcode: > > # type: htmlcode - This option creates a block of HTML code that the > user can embed in a web page to display the visualization inside an > iframe. A popup window with the exact html element of the gadget will > open in the browser.Use this only if the visualization is available in > a gadgetized version. > > * datasource: The data source url string. > * gadget: The gadget xml url string. > * userprefs: An optional preferences object appropriate for this > visualization, specifying the visualization preferences. > > I have tried numerous ways to get my userprefs to be propagated by the > html code, without success. The example shows (for the igoogle case) a > single user pref: > userprefs: {'3d': 1} > > I'm assuming you can add multiple prefs: > userprefs: {'3d': 1, > 'isStacked': false, > 'seTag': prefs.getString('seTag') } > > The last item is a userpref I added, and I want to read the values > from the prefs object, which seems to work fine in other parts of the > code. > > The code runs, but the settings for user prefs don't get included when > I use the iframe code that is generated. > > Any ideas about what the problem is? Does this really work? > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
