mirror of
https://github.com/storytold/gridcraft.git
synced 2026-10-27 20:26:48 -06:00
The ribbon button inserted a column chart straight away. It now opens an Insert Chart dialog: a Recommended tab (insert.chartRecommendations, a heuristic over the data's shape: series, points, labels, negatives) and an All Charts tab, each with a live preview of the chart for the selection. OK inserts the chosen type and selects the chart. insert.recommendedCharts stays dialog-free for programmatic calls: without a type it inserts the first recommendation; type/subtype pick one. insert_chart is split into build_chart (also used for previews). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>