Home Forums Chart Support Multi-series line chart from CSV

Multi-series line chart from CSV

Viewing 4 posts - 1 through 4 (of 4 total)
  • #15961

    I’ve tried playing with all the examples I can get my hands on, but I just can’t seem to find something that will actually plot my data. I’m very new at js.
    Trying to plot data from a csv in the format of:
    DateTime,FG_X,FG_Y,FG_Z
    2017-08-30T00:00:00Z,10.610600,-11.822900,5.570950
    2017-08-30T00:00:01Z,10.763200,-11.258350,5.555700
    2017-08-30T00:00:02Z,10.900550,-12.082300,-.151050
    2017-08-30T00:00:03Z,10.793750,-11.487200,5.570950
    2017-08-30T00:00:04Z,10.519050,-11.975500,5.097950
    2017-08-30T00:00:05Z,10.656400,-11.807650,5.387850

    I believe I have datetime in the proper ISO format now, I think that was part of my initial problems. The other 3 should be individual line plots, but for the life of me I can’t find any code that does that.

    Thanks in advance for any assistance.

    #15968

    @reddog176,

    Please take a look at this jsfiddle.

    ___
    Suyash Singh
    Team CanvasJS

    #15971

    Ok, that works when I run it on a subset of records <5000, but if I run it on a full days data… which is about 86000 records, it just crashed the browser. What am I missing?

    #15973

    @reddog176,

    Try removing the interval in the axisX. If you are still facing some problem, please create a jsfiddle reproducing the issue.

    ____________
    Indranil Deo,
    Team CanvasJS

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

You must be logged in to reply to this topic.