I'm glad everything works now, Ken! Hopefully charts will be fairly straightforward for you from this point, but if you have any further questions, please don't hesitate to ask.
On Thu Dec 04 2014 at 10:42:35 AM Ken Burkhalter <[email protected]> wrote: > THANK YOU. THANK YOU. THANK YOU! > > All works now. :-) > > That must have been the issue plaguing me for some time. > > As soon as I deleted the redundant function, every thing worked perfectly. > > I think I should be in pretty darn good shape from here on out, as once > something works at least a little bit, it is then possible to start > building and testing on that foundation. > > Thanks again, and sorry about the screen image vs raw HTML. I was > thinking that since the issue might have been with my csv file access, and > you couldn't access it anyway that the image would work. Thanks for the > suggestion, however, as from now on (if there are any more communications) > I will be sure to send the HTML instead. :-) > > Thank you again, for your help. It was a very exciting moment when my > graph appeared on the screen !!!!! > -ken b > > > > > > On 12/4/2014 10:19 AM, 'Sergey Grabkovsky' via Google Visualization API > wrote: > > You are defining your handleQueryResponse function twice, once on line 17, > and another time one line 43. JavaScript will only ever execute the last > defined function (with the same name), so in this case, it will execute the > one that does practically nothing. > > As an aside, in the future, could you please attach a raw HTML file, > rather than a screenshot? It would be much easier for me to help you if I > could just run your code or copy/paste it. > > On Thu Dec 04 2014 at 10:02:48 AM Ken Burkhalter <[email protected]> > wrote: > >> Sergey- >> >> I can't tell you how much I appreciate your help and patience. >> >> This is my first real attempt to do anything more than superficial in >> JavaScript, so the learning curve is steep but I'm climbing the hill faster >> than I thought I could (especially with your help). >> >> Really surprised by the "other domains" issue, as I never would have >> imagined it applied on a call of a call. The page's HTML document is in >> the root directory of my web server along with everything it is interacting >> with. I would have never figured that I need to open that document any way >> other than just double-clicking on it. >> >> Once I changed my approach (including changing the html document name >> from "!LineChartCode-test2.html" to "Chart.html") I also discovered that >> the only way I could get the script to run without errors, was if I used " >> http://127.0.0.1/tempsD1.csv" to access my data file. A reference of " >> http://192.168.1.90/tempsD1.csv" does not work, even though that is the >> web server's actuall IP designation. >> >> As a result of these changes, I can now execute the Graphing javascript >> file, but nothing at all happens. >> >> I then inserted a console.log() instruction at Line 28 (see attached >> document capture), but nothing appears on the Java Console (which is >> probably why I am not getting a chart displayed either). >> >> I can only, thus assume that for some reason the contents of my >> tempsD1.csv file is not getting read (although there are no errors posted >> in the Java Console). >> >> Do I have the proper Libraries loaded, and/or are there any obvious >> mistakes in my attempts to get the data to feed the Charting? >> >> Or, can you suggest some ways to debug the various Functions to see >> which might be failing? >> >> Thank you for your continued efforts to assist. [:-)} >> >> <https://lh3.googleusercontent.com/-x7xgqw2ovFA/VIB0tUl9utI/AAAAAAAACbM/eWq66aNxNFQ/s1600/chart.png> >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Visualization API" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to >> [email protected]. >> Visit this group at >> http://groups.google.com/group/google-visualization-api. >> For more options, visit https://groups.google.com/d/optout. >> > -- > > You received this message because you are subscribed to a topic in the > Google Groups "Google Visualization API" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/google-visualization-api/cnXYDr411tQ/unsubscribe > . > To unsubscribe from this group and all its topics, send an email to > [email protected]. > > > To post to this group, send email to > [email protected]. > Visit this group at > http://groups.google.com/group/google-visualization-api. > For more options, visit https://groups.google.com/d/optout. > > > -- > -ken burkhalter > > -- > You received this message because you are subscribed to the Google Groups > "Google Visualization API" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to > [email protected]. > Visit this group at > http://groups.google.com/group/google-visualization-api. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
