Forum Replies Created by 1alexritchie1

Viewing 1 post (of 1 total)
  • in reply to: Undetermined number of Y Axis #27050

    I have created this JSFiddle: https://jsfiddle.net/zLxpsth8/

    Basically, where the data transforms from 10 to 15 in the different ID i want to have them as 2 different lines on the graph.
    However, although the data is in this format:
    [
    {
    “id”: “4568ID214”,
    “data”: [
    10,
    10,
    10,
    10,
    10
    ]
    },
    {
    “id”: “5687ID556”,
    “data”: [
    15,
    15,
    15,
    15,
    15
    ]
    }
    ]

    I have know way of knowing how many objects containing ID & Data will be in the JSON object with each of them to get their own line on the chart.

    • This reply was modified 5 years ago by 1alexritchie1. Reason: Added further detail
Viewing 1 post (of 1 total)