aminghadersohi commented on code in PR #39866:
URL: https://github.com/apache/superset/pull/39866#discussion_r3186412174
##########
superset/mcp_service/chart/tool/generate_chart.py:
##########
@@ -200,6 +200,86 @@ async def generate_chart( # noqa: C901
}
```
+
+ Example usage for Pie chart:
+ ```json
+ {
+ "dataset_id": 123,
+ "config": {
+ "chart_type": "pie",
+ "dimension": {"name": "product_category"},
Review Comment:
Fixed in 38972f0150. Updated the IMPORTANT section to list all supported
chart types: 'xy', 'table', 'pie', 'big_number', 'pivot_table',
'mixed_timeseries', 'handlebars'.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]