Home Forums Chart Support JSON and Multi-Series Chart

JSON and Multi-Series Chart

Viewing 7 posts - 1 through 7 (of 7 total)
  • #13653

    Good afternoon. Please help with JSON and Multi-Series Chart.

    There JSON:

    [{"label":"MS01","t":"2016-12-16 10:10:00","y":38},{"label":"MS01","t":"2016-12-16 10:12:00","y":28},
    {"label":"MS01","t":"2016-12-16 10:15:00","y":25},{"label":"MS02","t":"2016-12-16 10:11:00","y":22},
    {"label":"MS02","t":"2016-12-16 10:13:00","y":22},{"label":"MS02","t":"2016-12-16 10:15:00","y":28},
    {"label":"MS03","t":"2016-12-16 10:11:00","y":22},{"label":"MS03","t":"2016-12-16 10:13:00","y":11},
    {"label":"MS04","t":"2016-12-16 10:13:00","y":11},{"label":"MS04","t":"2016-12-16 10:14:00","y":12}]

    How to Build a Multi-Series Chart, using the time data? Where is the line – a label value from JSON.

    • This topic was modified 7 years, 11 months ago by dimas19801.
    • This topic was modified 7 years, 11 months ago by dimas19801.
    • This topic was modified 7 years, 11 months ago by dimas19801.
    • This topic was modified 7 years, 11 months ago by dimas19801.
    #13658

    @dimas19801

    Please take a look at this jsFiddle.

    #13666

    Cool! Thanks for the help! I really like your graphics!

    #13874

    I have this JSON

    https://bamwx.com/forecasts/tele/tele-test.php

    I need each member to be a different line. I have 6 different parameters and 6 different models to pull from and all have a different number of members and go out a different amount of hours so I’m trying to keep it dynamic as much as possible.

    #13875

    Bryan,

    Please take a look at this jsFiddle.

    #13878

    This is awesome.

    The table is actually flipped and x is pulling the members not the hours. I updated the JSON to pull correctly I think…

    #13879

    I think I figured it out.

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

You must be logged in to reply to this topic.