score:2

Accepted answer

It appears to be an issue with the data not being properly sorted:

Compare:

var data = [
    {
        "key": "Key_2",
        "values": [
           {"x": "Cols # 21",  "y": 70},
           {"x": "Cols # 9",  "y": 39},
           {"x": "Cols # 8",  "y": 96},
           {"x": "Cols # 43",  "y": 95},
           {"x": "Cols # 16",  "y": 21},
           {"x": "Cols # 49",  "y": 24} ...

And:

var data = [
    {
        "key": "Key_2",
        "values": [
            {"x": "Cols # 21",  "y": 70},
            {"x": "Cols # 9",  "y": 39},
            {"x": "Cols # 8",  "y": 96},
            {"x": "Cols # 16",  "y": 21},
            {"x": "Cols # 43",  "y": 95},
            {"x": "Cols # 49",  "y": 24} ...

Related Query

More Query from same tag