> For the complete documentation index, see [llms.txt](https://docs.pptxbuilder.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pptxbuilder.com/api-reference/json-pptx/request-data/global-chart-settings.md).

# Global Chart Settings

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

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 [PPTX Builder](https://pptxbuilder.com) platform.&#x20;

> This is an optional parameter.

#### Example in `JSON`

```javascript
{
  "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"
      
    }
  }
}
```

{% content-ref url="/pages/-MHlgh7BrSKG6nhOxYpi" %}
[Chart View Settings](/api-reference/json-pptx/request-data/chart-settings/chart-view-settings.md)
{% endcontent-ref %}
