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. This settings will serve as the default settings for a given chart type in the PPTX Builder 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

Last updated