Chart View Settings
This page describes how to set the view settings for a specific chart.
Last updated
This page describes how to set the view settings for a specific chart.
Last updated
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/String
true
This attribute defines which slide layout
to use from the template. You can also pass the name of the layout instead as it appears on powerpoint.
0-99, "Chart and Image"
placeholder_index
Integer/String
true
This attribute defines which chart placeholder
to use for the chart. You can also pass the name of the placeholder instead as it appears on powerpoint.
0-99, "Chart placeholder 5"
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.
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"]
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
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
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]