add_chart
Creates a chart on a report page for visualizing a measure across a category field. Supports column, bar, line, pie, donut, and area chart types.
Instructions
Add a chart. chartType = clusteredColumnChart | clusteredBarChart | lineChart | pieChart | donutChart | areaChart. Category is the axis, value is the measure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| title | No | ||
| width | No | ||
| height | No | ||
| pageName | Yes | ||
| chartType | Yes | ||
| valueTable | Yes | value table | |
| seriesField | No | optional legend/series field | |
| seriesTable | No | optional legend/series table | |
| valueMeasure | Yes | value measure | |
| categoryField | Yes | axis/category field (column) | |
| categoryTable | Yes | axis/category table | |
| reportSessionId | Yes |