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

Chart Settings

This page describes how to set the chart settings and data.

In this section of the request json data you can define one or multiple charts and assign them to a specific placeholder on your pptx template.

The charts section is defined as an Array of charts.

Chart Settings fields

Name

Type

Required

Description

rows

Array

true

List of rows from your data

columns

Array

true

List of columns from your data

view_settings

Object

true

Chart presentation settings

Example in JSON

The example below shows how to setup 2 charts

{
	"charts": [{
		"rows": ["Yes", "No"],
		"columns": [{
			"text": "Work in Progress",
			"items": [{
				"text": "Does it work?",
				"base": 3.0,
				"data": [2.0, 1.0]
			}]
		}],
		"view_settings": {}
	}, {
		"rows": ["Maybe", "Other"],
		"columns": [{
			"text": "Work is done",
			"items": [{
				"text": "Does it work?",
				"base": 5.0,
				"data": [3.0, 2.0]
			}]
		}],
		"view_settings": {}
	}]
}
PreviousSlide SettingsNextChart View Settings

Last updated 4 years ago

Was this helpful?