Skip to content

0.2.2 fixes and adding dodge options for grouped charts#55

Merged
Chenglong-MS merged 4 commits into
mainfrom
dev
Jul 15, 2026
Merged

0.2.2 fixes and adding dodge options for grouped charts#55
Chenglong-MS merged 4 commits into
mainfrom
dev

Conversation

@Chenglong-MS

Copy link
Copy Markdown
Contributor

This pull request introduces version 0.2.2, bringing significant improvements to grouped chart rendering and chart property controls, especially for bar charts and violin plots across Vega-Lite, ECharts, and Chart.js. The update also refines rose chart behaviors and documentation, and fixes sorting and alignment issues. The most important changes are grouped below:

Grouped Chart Enhancements

  • Grouped violin plots in Vega-Lite now render as split violins for two groups and as a grid for three or more, improving clarity over the previous overlapping mirror approach.
  • Added local (compact) and global (aligned) dodge modes for grouped bar charts (Vega-Lite, ECharts, Chart.js) and boxplots (Vega-Lite, ECharts), selectable via the new dodge chart property. This makes sparse grouped data more readable. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]

Chart Property and API Changes

  • The dodge chart property options are now limited to auto, local, and global. The manual none option was removed, and one-per-band collapsing is now handled automatically. [1] [2]
  • Documentation for Vega-Lite, ECharts, and Chart.js has been updated to describe the new dodge property and its options. [1] [2] [3] [4] [5]

Rose Chart Improvements

  • The Vega-Lite Rose Chart no longer exposes an inner-radius control, aligning with the intended semantics (no donut hole). [1] [2]
  • The "Sort slices" option in Vega-Lite Rose Charts now reliably reorders wedges and their legend by value.
  • Chart.js Rose Chart alignment now correctly rotates wedges via the radial scale’s startAngle property, fixing a previous bug where the option was ignored. [1] [2] [3]

Versioning and Changelog

  • Bumped version to 0.2.2 and updated the changelog and GitHub comparison links accordingly. [1] [2]

Bug Fixes

  • Fixed sorting and alignment issues in Vega-Lite and Chart.js Rose Charts, ensuring correct visual and legend ordering.

These changes collectively improve grouped chart readability, streamline chart property controls, and resolve several chart rendering bugs.

@Chenglong-MS
Chenglong-MS merged commit 8e8d1d2 into main Jul 15, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant