Home Forums Chart Support JSON Data Import Structure…

JSON Data Import Structure…

Viewing 2 posts - 1 through 2 (of 2 total)
  • #18866

    Hi,
    I’m new to this and I get the following JSON data back from my vendor’s API –

    {“start”:”2018-01-01T08:00:00.000Z”,”data”:[[280769,0],[654444,135667],[675676,158785],[224538,0],[544889,109952],[1855162,302027],[3610876,0],[2694555,0],[2968105,204082],[2301808,0]]}

    This data has a start timestamp and the ‘data’ is In/Out traffic from that starting point and in 5 minute intervals.

    How would I go about displaying this data on a line chart?

    Thanks for your help.

    E.

    #18875

    Eric,

    Please have a look at this jsfiddle.

    ___
    Suyash Singh
    Team CanvasJS

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

You must be logged in to reply to this topic.