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

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. These 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,
      "show_chart_title": false,
      "chart_title_font_bold": true,
      "chart_title_font_size": 12,
      "chart_title_font_color": "rgb(123,123,123)",
      "chart_title_font_family": "arial_narrow"
      
    }
  }
}

PPTX Builder
Chart View Settings