> For the complete documentation index, see [llms.txt](https://docs.pptxbuilder.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pptxbuilder.com/v1/api-reference/json-pptx/request-data/rows.md).

# 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.&#x20;

There are two ways of sending the row information on the request payload.&#x20;

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

#### Example in `JSON`

```javascript
{
    "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

| Name    | Type    | Required | Description                                                                                              |
| ------- | ------- | -------- | -------------------------------------------------------------------------------------------------------- |
| text    | String  | true     | This value defines the label for the row.                                                                |
| visible | Boolean | true     | This value defines the visibility of the row. If you want the row to be selected by default, use `true`. |

#### &#x20;Example in `JSON`

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