--
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 google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/c22c967d-8bb1-49be-8002-d22a5b0fa8d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
The inconsistency is a bug, so thanks for reporting it. But you can work around it if you just use numbers instead of strings for your number values.
On Thu, Jun 2, 2016 at 7:15 PM, Sriharsha Puranik <crih...@gmail.com> wrote:
Hi,I am trying to create a AnnotationChart with json data. But, I get this error -Type mismatch. Value 15155 does not match type numberThis is the json string I am using -json_str = '{"cols":[{"label":"Date","type":"date"},{"label":"Area","type":"number"}],"rows":[{"c":[{"v":"Date(2016, 4, 20)"},{"v":"15155","f":null}]},{"c":[{"v":"Date(2016, 4, 21)"},{"v":"15181","f":null}]},{"c":[{"v":"Date(2016, 4, 22)"},{"v":"15188","f":null}]},{"c":[{"v":"Date(2016, 4, 23)"},{"v":"15203","f":null}]}]}';This same json string works fine for line chart -Also, from official example on AnnotationChart, it works fine with data.addRows function -So, is there anyway to work around this issue?Thanks,Sriharsha Puranik.
--
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 google-visualization-api+unsub...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/c22c967d-8bb1-49be-8002-d22a5b0fa8d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/c22c967d-8bb1-49be-8002-d22a5b0fa8d2%40googlegroups.com.
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 google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/7f7bb056-2269-464e-9324-aaa9a6fd91bc%40googlegroups.com.