Home Forums Chart Support Help with Multiple CSV columns

Help with Multiple CSV columns

Viewing 3 posts - 1 through 3 (of 3 total)
  • #27584

    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!

    • This topic was modified 4 years, 11 months ago by spiros.
    #27604

    @spiros,

    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 Deo
    Team CanvasJS

    #27613

    Indranil thanks very much for this advice, this worked for me.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.