So I'm trying to get my column chart to work correctly. It works, but I 
must be doing something wrong with my data to where the bars to vary based 
on the starting point of 0.

Here's what it looks like.



<https://lh3.googleusercontent.com/-FBqo4NG-UGc/W15qoG3WNYI/AAAAAAAAAIg/B_nrYZ9iYkcht_2OWJmHDLGw11eyzWzLwCLcBGAs/s1600/obnoxious.png>

Here's what my data looks like that is being passed from PHP to javascript, 
then parsed into the javascript object.

{"cols":[{"id":"Date","label":"Date","type":"string"},{"id":"Votes","label":
"Votes","type":"string"},{"id":"Date","label":"Date","type":"string"},{"id":
"Votes","label":"Votes","type":"string"},{"id":"Date","label":"Date","type":
"string"},{"id":"Votes","label":"Votes","type":"string"},{"id":"Date",
"label":"Date","type":"string"},{"id":"Votes","label":"Votes","type":
"string"},{"id":"Date","label":"Date","type":"string"},{"id":"Votes","label"
:"Votes","type":"string"}],"rows":[{"c":[{"v":"29-06-2018"},{"v":"43"}]},{
"c":[{"v":"01-07-2018"},{"v":"80"}]},{"c":[{"v":"01-08-2018"},{"v":"32"}]},{
"c":[{"v":"01-09-2018"},{"v":"105"}]},{"c":[{"v":"01-10-2018"},{"v":"1"}]}]}

This data results in the above column chart. The data is being ordered by 
date from left to right. Can anyone help me or explain to me what I'm 
missing that is causing the bars to not vary in sizes from the starting 
point of 0?


Thank you.

-- 
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 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/8af1ee49-689b-48fc-8410-ad051b103554%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to