Please see inline.
Regards,
VizGuy

On Mon, May 25, 2009 at 8:35 PM, Scott G <[email protected]> wrote:

>
> That's solved the problem. Thanks.
>
> On a related issue: the iframe from the toolbar (Publish to web page)
> doesn't seem to work unless I add some code to set the size of the
> iframe--otherwise I get just a tiny window with scroll bars. I can do
> this by adding, for example,
>   height="680" width="374" scrolling="no"
> between the iframe and src (<iframe height="680" width="374"
> scrolling="no" src=...).
>
> Any way to add code like this in the string shown by the toolbar? I
> don't really want to have to give instructions somewhere to alter the
> code that you get, but without that (in my testing) it really doesn't
> work.

In the next version of the toolbar, there will be a new 'style' parameter,
in which you will be able to add style info that will be appended to the
html code.
I believe this will solve this issue.

>
>
> Also, one of the parameters to the toolbar ( 'htmlcode') is the path
> and name of the xml. While I appreciate that you could give a
> different XML than the one being used, I would guess that most of the
> time, people will want to copy the gadget and use the same xml. So is
> there a way to get the name of the xml file being used, or would it be
> possible to make that optional and have it default to the current xml
> file? I hate to hard-code the file name into my gadget--it makes it
> harder when testing new versions, for one thing.


Unfortunately, there is no way for the toolbar to know the xml file of the
referenced gadget.
I agree this could be very convenient, but there is no way to implement
it...

>
>
> Thanks again,
> Scott
>
> On May 24, 6:03 am, VizGuy <[email protected]> wrote:
> > Hi,
> > It seems that there was an IE bug in our docs, and I assume you copied
> that
> > example.
> > We are fixing it now (to be seen in a few days).
> >
> > The problem is that in the array of components passed to drawToolBar(),
> > there is a comma at the end.
> >
> > This convention is a known not-IE-compatible one.
> >
> > Please try to remove that comma and let us know if this resolves the
> > problem.
> >
> > Regards,
> > VizGuy
> >
> > On Sat, May 23, 2009 at 7:36 AM, Scott G <[email protected]> wrote:
> >
> > > I'm using the 'Chart options' Toolbar in a gadget I created to allow
> > > views to download the data, view it in a table or embed the gadget
> > > somewhere else. It works find in FireFox on both Mac and Windows, and
> > > in Safari, but in IE (either 7 or 8) the toolbar doesn't appear.
> >
> > > I have a div with id "SUSAcharttoolbar_div" in my xml, and the toolbar
> > > is drawn into that div. In Firefox, it works fine, and Firebug shows
> > > the following:
> >
> > > <div id="SUSAcharttoolbar_div">
> > >   <span>
> > >       <div class="goog-inline-block goog-menu-button goog-menu-button-
> > > hover"
> > >                         title="" role="button" style="-moz-user-
> > > select: none;"
> > >                         tabindex="0" area-haspopup="true">
> > >               <div class="goog-inline-block goog-menu-button-outer-
> > > box">
> > >                      ... (more stuff here)
> > >               </div>
> > >       </div>
> > >   </span>
> > > </div>
> >
> > > In IE, however, it looks like this
> >
> > > <div id="SUSAcharttoolbar_div" />
> >
> > > We did see an error in IE 8 that said:
> >
> > > Webpage error details
> >
> > > User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/
> > > 4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR
> > > 3.0.30729; Media Center PC 6.0; Tablet PC 2.0; Zune 3.0)
> > > Timestamp: Tue, 19 May 2009 02:53:01 UTC
> >
> > > Message: 'undefined' is null or not an object
> > > Line: 386
> > > Char: 209
> > > Code: 0
> > > URI:
> > >http://www.google.com/uds/api/visualization/1.0/357a57f610020b26f132b.
> ..
> >
> > > Anybody know what is going on here? Or is there someplace else I
> > > should be looking?
> >
> > > Thanks
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to