Commit Graph

7 Commits

Author SHA1 Message Date
hailin 2d5dfae835 fix: wordcloud auto-fit all words with shrinkToFit
- shrinkToFit: true — auto-shrink words that don't fit
- width/height: 95% — use nearly full container
- keepAspect: false — let shape stretch to fill container
- Combined with ellipse mask radii, all words should now display

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 21:35:02 -07:00
hailin f8ef83506a fix: stretch wordcloud shapes to fill container using ellipse radii
Changed from square min(w,h) radius to separate rx/ry that use
the full width and height of the container. Shapes now fill the
entire chart area instead of being constrained to a small square.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 21:33:16 -07:00
hailin e7d7745f74 fix: use 1024x700 mask canvas for better shape coverage
Previous 512x512 square mask was too small, causing most words to
be excluded. Now uses 1024x700 (16:11 ratio) to match typical chart
containers, with r=48% fill for maximum word area.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 21:28:10 -07:00
hailin 8fb5caef07 fix: enlarge cardioid (heart) shape mask for better visibility
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 21:21:59 -07:00
hailin 1a0abaa453 feat: wordcloud shapes via canvas maskImage
Shape presets (circle/heart/diamond/triangle/star/pentagon) now
render correctly using dynamically generated canvas mask images.
Added rectangle option. Mask images are cached for performance.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 21:19:37 -07:00
hailin 026fe11dff feat: complete wordcloud chart with config panel
- WordcloudOptionBuilder: shape, font size range, rotation range,
  grid size, font family/weight, 3 color modes (palette/random/gradient)
- WordcloudConfig panel: full UI for all wordcloud settings
- StyleConfig: conditionally shows wordcloud/axis/legend panels
  based on chart type (wordcloud hides axes, KPI hides legend, etc.)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 19:57:11 -07:00
hailin 6079ec8b97 feat: add frontend source code (Next.js + React + TypeScript)
Previously excluded due to nested .git from create-next-app.
Includes all Clean Architecture layers, API client integration,
and full UI component suite.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 23:33:37 -07:00