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

Chart View Settings

This page describes how to set the view settings for a specific chart.

You can provide specific settings for each chart on your presentation. These settings can include chart-type, font-family, sorting, placeholder. Check below for a full spec of the attributes available.

Chart view settings

Name

Type

Required

Description

Values

slide_master_index

Integer

true

This attribute defines which slide master to use from the template

0-99

slide_layout_index

Integer

true

This attribute defines which slide layout to use from the template

0-99

placeholder_index

Integer

true

This attribute defines which chart placeholder to use for the chart

0-99

chart_type

String

true

This attribute defines the chart_type.

Check the chart types section.

show_legend

String

false

Controls the position and visibility of the chart legend.

[

"none",

"bottom",

"left",

"right",

"top"

]

show_legend_font_family

String

false

Defines the font-family used for the chart legend.

Check the fonts section

show_data_labels

String

false

This attribute defines the position of the data labels in the chart.

Check the data labels section.

show_value_axis

String

false

This attribute controls the position of the y axis.

[

"none",

"default",

"opposite"

]

show_sort

String

false

This attribute controls the sorting of the values on the chart.

[

"none",

"descending",

"ascending"

]

sorting_value

String

false

This attribute controls the sorting by value.

Cross break inner column name. If provided, and show_sort descending/ascending, then data will be sorted by it

show_category_axis_font_family

String

false

This attribute controls the font-family for the x axis.

Check the font section.

show_value_axis_font_family

String

false

This attribute controls the font-family for the y axis.

Check the font section.

show_data_label_font_family

String

false

This attribute controls the font-family for the data label.

Check the font section.

data_table_cell_font_family

String

false

This attribute controls the font-family for the data cell.

Check the font section.

data_table_row_header_font_family

String

false

This attribute controls the font-family for the data row header.

Check the font section.

data_table_column_header_font_family

String

false

This attribute controls the font-family for the data column headers.

Check the font section.

chart_title_font_family

String

false

This attribute controls the font-family for the chart title.

Check the font section.

series_marker_style

String

false

This attribute controls the marker displayed when hovering the data points.

[

"automatic",

"circle",

"dash",

"diamond",

"dot",

"none",

"picture",

"plus",

"square",

"star"

]

series_by

String

false

This attribute controls how data will be presented.

["columns", "rows"]

data_table_cell_alignment

String

false

This attribute controls alignment of cell

["left", "right", "center"]

data_table_row_header_alignment

String

false

This attribute controls alignment of row headers

["left", "right", "center"]

data_table_column_header_alignment

String

false

This attribute controls alignment of column headers

["left", "right", "center"]

series_line_color

String

false

The main color of the series.

RGB

show_data_label_font_color

String

false

Color of the data label.

RGB

show_legend_font_color

String

false

Legend font color

RGB

show_value_axis_font_color

String

false

Value Axis font color.

RGB

vaxis_tick_label_line_color

String

false

Value Axis tick line color.

RGB

show_category_axis_font_color

String

false

Column axis font color.

RGB

caxis_tick_label_line_color

String

false

Column Axis tick line color.

RGB

data_table_cell_font_color

String

false

Cell font color

RGB

data_table_row_header_font_color

String

false

font color

RGB

data_table_column_header_font_color

String

false

Column header font color

RGB

chart_title_font_color

String

false

Chart title font color

RGB

show_data_label_font_size

Integer

false

Data Label font size.

From 1 to x

show_value_axis_font_size

Integer

false

Value axis font size.

From 1 to x

show_category_axis_font_size

Integer

false

Column axis font size.

From 1 to x

caxis_tick_label_line_width

Integer

false

Column Axis tick line width.

From 0 to x

series_line_width

Integer

false

Series line width.

From 0 to x

show_legend_font_size

Integer

false

Legend font size.

From 0 to x

data_table_cell_font_size

Integer

false

Cell font size

From 0 to x

data_table_row_header_font_size

Integer

false

Row header font size

From 0 to x

data_table_column_header_font_size

Integer

false

Column header font size

From 0 to x

chart_title_font_size

Integer

false

Chart title font size

From 0 to x

max_axis_scale

Integer

false

Maximum value for axis.

From 0 to x

min_axis_scale

Integer

false

Minimum value for axis.

From 0 to x

decimal_places

Integer

false

Data Label decimal places.

From 0 to x

plot_gap_width

Integer

false

Defines width of gap in the chart.

From 0 to 500

plot_overlap

Integer

false

Data Labels overlap offset.

From 0 to 500

legend_in_layout

Boolean

false

Controls legend visibility.

[true , false]

series_smooth_line

Boolean

false

Controls line anti-aliasing

[true , false]

hide_percentage

Boolean

false

Hide percentage sign.

[true , false]

show_legend_font_bold

Boolean

false

Legend font weight.

[true , false]

show_horizontal_gridlines

Boolean

false

Show chart horizontal grid lines.

[true , false]

show_vertical_gridlines

Boolean

false

Show chart vertical grid lines.

[true , false]

show_category_axis_font_bold

Boolean

false

Category axis font weight.

[true , false]

show_value_axis_font_bold

Boolean

false

Value axis font weight.

[true , false]

show_data_label_font_bold

Boolean

false

Data labels font weight.

[true , false]

data_table_cell_font_bold

Boolean

false

Cell font weight.

[true , false]

data_table_row_header_font_bold

Boolean

false

Row header font weight.

[true , false]

data_table_column_header_font_bold

Boolean

false

Column header font weight.

[true , false]

chart_title_font_bold

Boolean

false

Chart title font weight

[true, false]

show_chart_title

Boolean

false

Show chart title

[true, false]

Example in JSON

{
  "view_settings": {
    "slide_master_index": 0,
    "slide_layout_index": 0,
    "placeholder_index": 0,
    "chart_type": "bar",
    "hide_percentage": false,
    "show_legend": "bottom",
    "show_legend_font_family": "auto",
    "show_legend_font_size": 12,
    "show_legend_font_bold": false,
    "show_legend_font_color": "rgb(0,0,0)",
    "show_data_labels": "center",
    "show_data_label_font_family": "auto",
    "show_data_label_font_size": 12,
    "show_data_label_font_bold": false,
    "show_data_label_font_color": "rgb(0,0,0)",
    "show_horizontal_gridlines": false,
    "show_vertical_gridlines": false,
    "show_value_axis": "default",
    "show_value_axis_font_family": "auto",
    "show_value_axis_font_size": 12,
    "show_value_axis_font_bold": false,
    "show_value_axis_font_color": "rgb(0,0,0)",
    "show_category_axis_font_family": "auto",
    "show_category_axis_font_size": 12,
    "show_category_axis_font_bold": false,
    "show_category_axis_font_color": "rgb(0,0,0)",
    "show_sort": "none",
    "sorting_value": "no-sorting",
    "max_axis_scale": null,
    "min_axis_scale": null,
    "decimal_places": 0,
    "legend_in_layout": false,
    "vaxis_tick_label_line_color": "rgb(0,0,0)",
    "caxis_tick_label_line_color": "rgb(0,0,0)",
    "caxis_tick_label_line_width": 1,
    "plot_overlap": 0,
    "plot_gap_width": 50,
    "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"
  }
}
PreviousSlide SettingsNextColumns

Last updated 4 years ago

Was this helpful?