Documentation Index
Fetch the complete documentation index at: https://duomi.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Chart Blocks
Use a chart block when the template slide contains a bar or column chart region and your request needs to provide chart data. The template supplies placement and default styling. The payload supplies categories, series, chart type, and optional formatting overrides.Basic Shape
Insideslide_data.content.blocks, a chart block looks like this:
Supported Chart Types
Chart blocks support bar and column charts only.| Type | Use when |
|---|---|
clustered_column | Compare series side by side with vertical columns |
stacked_column | Show stacked contribution by category with vertical columns |
percent_stacked_column | Show each category as 100% with vertical columns |
clustered_bar | Compare series side by side with horizontal bars |
stacked_bar | Show stacked contribution by category with horizontal bars |
percent_stacked_bar | Show each category as 100% with horizontal bars |
chart_type, generation preserves the template chart type where supported.
Pie, line, area, scatter, combo, and other arbitrary PowerPoint chart types are not part of the supported chart block API.
Categories and Series
categories defines the labels along the category axis. For column charts, categories appear on the X-axis. For bar charts, categories appear on the Y-axis.
series defines the plotted values. Each series has a name, a values array, and an optional color.
Titles, Legends, and Axes
Chart blocks can specify the chart title, legend, value axis, and category axis.bottom, left, right, top, and top_right.
Axis fields include visible, title, title_format, label_format, label_rotation, number_format, min_value, and max_value.
Bar Labels
Setshow_bar_labels: true to add total labels to stacked bars or columns.
stacked_column, stacked_bar, percent_stacked_column, and percent_stacked_bar.
Bar labels are calculated automatically from the chart series values.
Data Rows
Usedata_rows to add a small data table beneath the chart. These values are part of the input payload; the API positions and formats the rows, but it does not derive values like n= or NPS from the chart series.
data_rows automatically enables the chart data table. If data_table_header_column is true, the first value in each row is treated as a row label.
Complete Example
Chart block request example
Chart block request example


Updating Charts Later
Use chart blocks when you are generating a supported bar or column chart slide from a template. Use Chart Updates when a.pptx already exists and you only need to refresh the chart data.
Chart updates are useful when:
- New data arrives after the deck was generated
- A user manually edited the deck in PowerPoint and you want to preserve those edits
- You want to keep chart formatting, colors, legends, axes, bar labels, and data-row positioning while replacing the underlying numbers
categories, series, data_rows, and data_table_header_column. Omit styling fields such as chart_type, title, legend, and axes when you want the existing chart formatting preserved.
Related Guides
Presentation Generation
Generate one slide or a full deck.
Table Blocks
Author table rows and formatting.
Text Blocks
Author slide text and text sections.