generate_polar_chart
Create polar charts (rose, radar, pie) to visualize numerical differences across categories using polar coordinates, with customizable themes, dimensions, and outputs.
Instructions
Generate a polar chart (rose, radar, pie) to display numerical differences among different categories using radius and angle in polar coordinates.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
angleAxisHasGrid | No | Show grid lines for the angle axis. | |
angleAxisHasLabel | No | Show angle axis labels. | |
angleAxisHasTick | No | Show angle axis ticks. | |
angleAxisTitle | No | Angle axis title. | |
angleAxisType | No | Angle axis type: categorical ('band') or continuous ('linear'). | |
background | No | Chart background color (hex). Optional, defaults to white. | |
categoryField | Yes | Dimension field. Must exist in the data. | |
chartTheme | No | Chart theme. Optional, defaults to 'light'. | |
chartType | Yes | ||
colorField | No | Color grouping field. Should not duplicate the dimension field. | |
colors | No | Color palette for chart elements. | |
dataTable | Yes | Data for the chart, e.g., [{ category: 'Category 01', value: 10 }]. | |
height | No | Chart height. Optional, defaults to 500. | |
output | No | Chart output type. Defaults to 'image'. | image |
radiusAxisHasGrid | No | Show grid lines for the radius axis. | |
radiusAxisHasLabel | No | Show radius axis labels. | |
radiusAxisHasTick | No | Show radius axis ticks. | |
radiusAxisTitle | No | Radius axis title. | |
radiusAxisType | No | Radius axis type: categorical ('band') or continuous ('linear'). | |
stackOrPercent | No | Stacking mode: 'stack' for stacked data, 'percent' for percentage stacking. Requires 'color' field. | |
subTitle | No | Chart subtitle text. | |
title | No | Chart title text. | |
titleOrient | No | Title position in the chart. | |
transpose | No | ||
valueField | Yes | Measure field. Must be numeric and exist in the data. | |
width | No | Chart width. Optional, defaults to 500. |