Oh my! You are very correct! When I open from finder it's file:///path, but when I dump the page on the server and access it via http:// the flags and buttons seem to work fine... That seems bizarre to me, but like I said I'm a total newb, so thank you very much for your assistance!! You are quite noble.
I hope to not bug you again any time soon, J-man On Aug 18, 2:21 pm, Viz Kid <[email protected]> wrote: > I've heard some user complain about a similar issue of no flags when loading > the JS api via https. So what I aimed for in my question was to know if you > are loading the JS api differently in some way (http vs. https for example) > or if the page itself is loaded from file or https unlike the examples which > are http. For some reason, these changes may cause the effect of the flags > disappearing and I wanted to see if this was the issue you are facing. > > > > On Wed, Aug 18, 2010 at 9:14 PM, J-man <[email protected]> wrote: > > Hey, thanks for getting back to me! > > > Right, so what I did was go to this page: > > >http://code.google.com/intl/en/apis/visualization/documentation/galle... > > > in Safari (5.0.1 on Mac Os 10.6.4) and the example chart there worked > > fine, so I copied the code directly below it directly into dashcode > > and saved the page (without changing a single thing) and yet when I > > open that page in the same browser, it looks the same, but there are > > no flags! I then took out the data and put my own in, and all the > > dates and lines show up fine, the graph scales properly and such, but > > there aren't any flags to be had! After seeing your reply I went into > > the playground and surely the example on there had flags working as > > they should, so I decided to copy just my data into the playground, > > and to my surprise, when I ran the code the visualization popped up > > with flags and everything! It was beautiful! So I copied the whole > > dang script into my page, saved it, and opened it in safari, and > > (well, it didn't load, but then I changed the target div's ID to match > > the new code, as well as changing the google.setOnLoadCallback from > > (drawChart) to (drawVisualization) and then it showed up again, but) > > there were no darn flags! The annotations show up on the right like > > they should (although I'm now realizing that when you zoom in the > > chart to 1 day clicking on the annotations on the right does not take > > you to that part of the chart like it does in the playground and on > > the examples when flags are displayed) and mouseover events on the > > chart seem to be working fine. I don't have access to a windows > > machine right now, but I should soon so I'll test it out on some > > windows browsers, but I tried loading the page after making these few > > changes in Chrome and Firefox, and just like safari, neither one gave > > me flags (or did anything when clicking on the annotations on the > > right. > > > You asked where I serve the code from when I copy it, I'm not sure > > exactly what that means. I copied the code into dashcode, and saved it > > as an html file on my (internal) hard drive, and then opened it in > > various browsers from the finder... Is that even relevant? > > > Sorry for all my newb-status-confusion, but I really appreciate your > > helping me! > > > J-man > > > On Aug 18, 12:37 am, Viz Kid <[email protected]> wrote: > > > Hi. > > > > I'm not sure I understood since I see the example working with the flags > > on > > > some browsers you had issues with so I want to clarify. > > > > The flags do appear for you on all browsers when you go into the > > > documentation pages / playground but does not show when you copy-paste > > the > > > code?http://code.google.com/apis/ajax/playground/#annotated_time_line > > > > <http://code.google.com/apis/ajax/playground/#annotated_time_line>If > > this is > > > the case, there should be some difference between the two cases. When you > > > copy the code, where do you serve it from? > > > > Viz Kid > > > > On Wed, Aug 18, 2010 at 5:03 AM, J-man <[email protected]> wrote: > > > > Hey y'all, wondering if you might be able to help me out... > > > > > I've got one of the annotated timelines on my page, and it mostly > > > > works great! The issue I'm having is that the annotation flags are not > > > > showing up (sometimes). I have not been able to test this out super > > > > thoroughly, but I have found that the flags DO appear in Chrome on > > > > Windows (XP I think... sorry, I had somebody else try for me on > > > > windows and all the information i could really get from them was the > > > > name of the browser and wether or not there were flags), but not on IE > > > > (probably 7 - maybe 8), but it does NOT show in Firefox, chrome, or > > > > Safari on Mac Os X (10.6.4). > > > > > I basically copied the code from the viz gallery and even before I > > > > changed ANYTHING (just paste - save - open in browser) the flags are > > > > not displayed (though they are in the example on the page directly > > > > above the code.) > > > > > Any help at all would be greatly appreciated! > > > > > -- > > > > 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]<google-visualization- > > > > api%[email protected]><google-visualization- > > api%[email protected] <api%[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]<google-visualization- > > api%[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.
