PPTX Builder API
PPTX BuilderBook a demoAccount
v1
v1
  • Introduction
  • Guide
    • Create account
    • Get API token
    • Webhook
    • Preparing your 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 View Settings
        • Columns
        • Rows
        • Chart title
    • JSON to PPTX
      • Request Payload
        • Base settings
        • Slide Settings
        • Chart View Settings
        • Columns
        • Rows
        • Chart Title
  • Fonts
  • Chart Types
  • Data Labels
  • Chart Settings Specifics
  • Examples
    • JSON to PPTX Builder
    • JSON to PPTX
    • API Token
Powered by GitBook
On this page

Was this helpful?

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

Chart Title

Within each slide you can provide a chart title value and this will be rendered in the chart and in the downloaded presentation.

Example in JSON

{
    "chart_title": "custom title"
}

Example slide JSON with Chart Title

{
  "base_settings": {
    "file_name": "test_demo",
    "company_template": "PPTX.Template.PsH.TEST.-.sig2.pptx"
  },
  "body": [{
    "chart_title": "custom title",
    "table_text": "Demo",
    "question_text": "What is Demo?",
    "base_text": "A Demo is something that is used for presentation!",
    "rows": ["Cardiology", "Endocrinology / Diabetology", "General Practice / Family Medicine", "Internal Medicine", "Other"],
    "columns": [{
      "text": "Total",
      "items": [{
        "text": "Total n=100",
        "base": 100,
        "data": [16, 5, 37, 42, 0]
      }]
    }, {
      "text": "Gender",
      "items": [{
        "text": "Male",
        "base": 100,
        "data": [16, 5, 37, 42, 0]
      }, {
        "text": "Female",
        "base": 100,
        "data": [20, 15, 47, 22, 10]
      }]
    }],
    "view_settings": {
      "slide_master_index": 0,
      "slide_layout_index": 0,
      "placeholder_index": 0,
      "chart_type": "bar",
      "show_chart_title": true,
      "chart_title_font_bold": false,
      "chart_title_font_size": 12,
      "chart_title_font_color": "rgb(123,123,123)",
      "chart_title_font_family": "arial_narrow"
    }
  }]
}
PreviousRowsNextFonts

Last updated 4 years ago

Was this helpful?