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 Builder
  3. Request Payload

Global Chart Settings

This page describes how to set your global chart settings in the request data.

PreviousCustom SettingsNextSlide Settings

Last updated 4 years ago

Was this helpful?

You can provide the default chart settings using global_chart_settings. This settings will serve as the default settings for a given chart type in the platform.

This is an optional parameter.

Example in JSON

{
"global_chart_settings": {
    "bar": {
        "show_legend": "center",
        "show_legend_font_size": 11,
        "show_legend_font_family": "arial_narrow",
        "show_legend_font_bold": true,
        "show_legend_font_color": "rgb(89,89,89)",
        "legend_in_layout": false,
        "show_data_labels": "center",
        "show_data_label_font_family": "arial_narrow",
        "show_data_label_font_size": 11,
        "show_data_label_font_bold": true,
        "show_data_label_font_color": "rgb(255,255,255)",
        "hide_percentage": true,
        "show_value_axis": "none",
        "show_value_axis_font_family": "arial_narrow",
        "show_value_axis_font_size": 10,
        "show_value_axis_font_bold": true,
        "show_value_axis_font_color": "rgb(63,63,63)",
        "vaxis_tick_label_line_color": "rgb(143,143,143)",
        "show_category_axis_font_family": "arial_narrow",
        "show_category_axis_font_size": 11,
        "show_category_axis_font_bold": true,
        "show_category_axis_font_color": "rgb(63,63,63)",
        "caxis_tick_label_line_color": "rgb(143,143,143)",
        "caxis_tick_label_line_width": 1,
        "show_vertical_gridlines": true,
        "show_horizontal_gridlines": false,
        "min_axis_scale": 0,
        "max_axis_scale": 100,
        "plot_overlap": 0,
        "plot_gap_width": 50,
        "decimal_places": 0
        }
    }
}

You can check all the related chart settings

PPTX Builder
Chart View Settings