Home › forums › Using CanvasJS › Help with Multiple CSV columns
Hi Community, I am struggling to display data from a CSV with format NAME,100.00,200.00 into a CanvasJS graph with multiple columns.
My JSfiddle is as follows: https://jsfiddle.net/nqtvxgh4/
Hopefully there are no silly mistakes, I have worked from the tutorial examples.
Thanks very much for any pointers!
In the code sample provided, two y values were being passed to a dataPoint, whereas a Column chart accepts only single y-value. Also as it’s a Multi-Series chart, passing the dataPoints to the specific dataSeries with label(for displaying string values on axisX) and y-value(for displaying number on axisY) should work fine in your case.
Please take a look at this updated JSFiddle.
Indranil thanks very much for this advice, this worked for me.
You must be logged in to reply to this topic.