i'm drawing a scatter chart using ajax call. Some of values are duplicate 
on x-axis while y-axis values are different.

Example -


<https://lh3.googleusercontent.com/-sCPZdUU5vek/WlXOXPMtHhI/AAAAAAAAPV0/E3Dnup9dKMcNY2oSK4pqSkOdtUmKALgEwCL4CGAYYCw/s1600/chart.png>

{ "cols": [ {"id":"","label":"Sold Year","pattern":"","type":"string"}, 
{"id":"","label":"Unit Price","pattern":"","type":"number"} ], "rows": 
[{"c":[{"v":"2006","f":null},{"v":"0","f":"$0"}]},{"c":[{"v":"2007","f":null},{"v":"0","f":"$0"}]},{"c":[{"v":"2008","f":null},{"v":"0","f":"$0"}]},{"c":[{"v":"2009","f":null},{"v":"0","f":"$0"}]},{"c":[{"v":"2010","f":null},{"v":"0","f":"$0"}]},{"c":[{"v":"2011","f":null},{"v":"0","f":"$0"}]},{"c":[{"v":"2012","f":null},{"v":"0","f":"$0"}]},{"c":[{"v":"2013","f":null},{"v":"0","f":"$0"}]},{"c":[{"v":"2014","f":null},{"v":"0","f":"$0"}]},{"c":[{"v":"2015","f":null},{"v":"10700","f":"$10,700"}]},{"c":[{"v":"2015","f":null},{"v":"1280","f":"$1,280"}]},{"c":[{"v":"2016","f":null},{"v":"2500","f":"$2,500"}]},{"c":[{"v":"2016","f":null},{"v":"80500","f":"$80,500"}]},]}


In above example values for years on x-axis are duplicate (Year 2015 & 2016). 
The scatter chart draws 2 points for 2015 & same for 
2016.

I want to show single x-axis value with different y-axis values.

The chart out put should be like -

<https://lh3.googleusercontent.com/-ubDYeO4URCI/WlXOj3wTrBI/AAAAAAAAPV0/Sqs5dVyQE5gmjwWtQJ7SfAXkSO8tgIY0ACL4CGAYYCw/s1600/2018-01-10_1337.png>




Any help is appreciated. Thanks

-- 
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/6a1571c7-5e36-4e4b-973a-8e23cde012c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to