Rows

This page describes how to define and control the rows in you json payload.

In this chart section, you have the ability to define and control your rows. By default all rows are selected but you can also make a custom selection.

There are two ways of sending the row information on the request payload.

If you don't need to be selective regarding which rows are selected by default, you can simply pass an Array of Strings.

Example in JSON

{
    "rows": ["Yes" , "No" , "Maybe"]
}

If you need to choose which rows are selected by default, you can instead pass an Array of Objects.

Row fields

Example in JSON

{
    "rows": [{
            "name": "Yes",
            "visible": true
        }, {
            "name": "No",
            "visible": true
        }, {
            "name": "Maybe",
            "visible": false
        }
    ]
}

If you want to provide rows with unique IDs, then all chart columns their items and rows must contain unique IDs.

Last updated