--
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/ANKJQlM24GA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.
Not quite sure what you mean there..
On Fri, Dec 27, 2013 at 2:07 AM, asgallant <drew_g...@abtassoc.com> wrote:
It looks like your webserver is injecting HTML into the data returned by chart.php. You have to disable the injection for the chart.php page.
On Thursday, December 26, 2013 12:32:44 PM UTC-5, San Diran wrote:Firstly, thanks for replying- yup, my content do have that div (<div id="visualization" style="width: 1000px; height: 400px;"></div>)- receiving this "Uncaught SyntaxError: Unexpected token <" error msg
On Friday, December 27, 2013 12:12:53 AM UTC+8, asgallant wrote:I skimmed over your code and it looks like it should work (assuming your statistic.php file's "content" section contains a div with the id "visualization"). What happens when you try to run it? If you don't see a chart, open it in Chrome and view the developer's console (ctrl+shift+j opens it in Windows) - are there any error messages in the console?
On Wednesday, December 25, 2013 11:46:23 PM UTC-5, San Diran wrote:Can anyone help me with this? i want to plot number of people (death/alive/alive but disable) with sector.New to everything, but will try my best to learn from anyone
--
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/ANKJQlM24GA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-visualization-api+unsub...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to google-visualizati...@googlegroups.com.
Sorry for the late reply, here is the pic from chart.php
On Fri, Dec 27, 2013 at 3:55 AM, asgallant <drew_g...@abtassoc.com> wrote:
I could be wrong about that - I took a closer look at the HTML, and it looks like it might be a PHP error message. Open chart.php in a browser; what gets output?
On Thursday, December 26, 2013 2:53:28 PM UTC-5, asgallant wrote:
According to the error message you posted, there is HTML inside the jsonData variable (you can see it in the output from console.log). You need to figure out where that is coming from and get rid of it. Since the chart.php code doesn't contain that HTML anywhere, I assume it is being injected via your webserver.
On Thursday, December 26, 2013 1:18:06 PM UTC-5, San Diran wrote:
Not quite sure what you mean there..
On Fri, Dec 27, 2013 at 2:07 AM, asgallant <drew_g...@abtassoc.com> wrote:
It looks like your webserver is injecting HTML into the data returned by chart.php. You have to disable the injection for the chart.php page.
On Thursday, December 26, 2013 12:32:44 PM UTC-5, San Diran wrote:Firstly, thanks for replying- yup, my content do have that div (<div id="visualization" style="width: 1000px; height: 400px;"></div>)- receiving this "Uncaught SyntaxError: Unexpected token <" error msg
On Friday, December 27, 2013 12:12:53 AM UTC+8, asgallant wrote:I skimmed over your code and it looks like it should work (assuming your statistic.php file's "content" section contains a div with the id "visualization"). What happens when you try to run it? If you don't see a chart, open it in Chrome and view the developer's console (ctrl+shift+j opens it in Windows) - are there any error messages in the console?
On Wednesday, December 25, 2013 11:46:23 PM UTC-5, San Diran wrote:Can anyone help me with this? i want to plot number of people (death/alive/alive but disable) with sector.New to everything, but will try my best to learn from anyone
--
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/ANKJQlM24GA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.
To unsubscribe from this group and all its topics, send an email to google-visualizati...@googlegroups.com.