Autype supports 8 chart types using theDocumentation Index
Fetch the complete documentation index at: https://docs.autype.com/llms.txt
Use this file to discover all available pages before exploring further.
:::chart directive. Charts are rendered as images in the exported document.
Basic syntax
- A
typeattribute labels:line (except scatter/bubble charts)- One or more
dataset:lines
Chart types
Bar chart
Line chart
Pie chart
Pie, doughnut, and polar area charts automatically assign colors from a built-in palette if no colors are specified.
Doughnut chart
Radar chart
Polar area chart
Multiple datasets
Add multipledataset: lines to compare data series:
Dataset syntax
| Part | Required | Description |
|---|---|---|
| Label | Optional | Dataset name shown in legend |
| Values | Yes | Comma-separated numbers |
| Color | Optional | Hex color (e.g., #3b82f6) |
Multiple colors per dataset
For pie/doughnut charts, provide comma-separated colors:Simple data syntax
For single-dataset charts, usedata: instead of dataset::
Scatter charts
Scatter charts use coordinate pairs instead of simple values. Labels are not needed.Using dataset syntax
Using series + point syntax
An alternative syntax for scatter charts:series: starts a new dataset with a label and optional color. point: adds an x,y coordinate to the current series.
Bubble charts
Bubble charts extend scatter charts with a third value for the bubble radius:(x, y, radius).
Using series + point syntax:
Figure captions
Add acaption attribute for auto-numbering in the List of Figures:
"Figure", "Abb.") and styling (font, alignment, color) are configured in your document’s style settings. Charts share the same figure caption style as images.
Anchors for cross-references
Add ananchor attribute to reference the chart from elsewhere:
Attribute reference
| Attribute | Values | Description |
|---|---|---|
type | bar, line, pie, doughnut, radar, polarArea, scatter, bubble | Chart type (required) |
title | String | Title displayed on the chart |
caption | String | Figure caption for auto-numbering |
anchor | String | Anchor ID for cross-references |
width | Number (pixels) | Chart width |
height | Number (pixels) | Chart height |
align | left, center, right | Horizontal alignment |
showLegend | true, false | Show/hide the legend |
showGrid | true, false | Show/hide grid lines |
Default color palette
When no colors are specified, charts use this built-in palette:| Index | Color | Hex |
|---|---|---|
| 1 | Blue | #3b82f6 |
| 2 | Red | #ef4444 |
| 3 | Green | #22c55e |
| 4 | Amber | #f59e0b |
| 5 | Violet | #8b5cf6 |
| 6 | Cyan | #06b6d4 |
| 7 | Pink | #ec4899 |
| 8 | Orange | #f97316 |
| 9 | Teal | #14b8a6 |
| 10 | Indigo | #6366f1 |
