PPTX Builder API
PPTX BuilderBook a demoAccount
v2
v2
  • Introduction
  • Guide
    • Create account
    • Get API Token
    • Webhook
    • Preparing Slides
  • Concepts
    • Intro
    • Slide Masters
    • Slide Layouts
    • Placeholders
    • Slide
  • API Reference
    • Authentication
    • JSON to PPTX Builder
      • Request Payload
        • Base Settings
        • Custom Settings
        • Global Chart Settings
        • Slide Settings
        • Chart Settings
          • Chart View Settings
        • Columns
        • Rows
        • Significance Test
        • Chart Title
    • JSON to PPTX
    • Append slide
      • Request Payload
    • Upload template
  • Fonts
  • Chart Types
  • Data Labels
  • Legend
  • Chart Specific Settings
  • Examples
    • JSON to PPTX Builder
    • API Token
    • Append slide
    • More examples
Powered by GitBook
On this page

Was this helpful?

  1. API Reference
  2. JSON to PPTX Builder
  3. Request Payload

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

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.

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.

PreviousColumnsNextSignificance Test

Last updated 4 years ago

Was this helpful?