Skip to content

feat(chart): doughnut hole size and first-slice angle#1136

Open
vitordj wants to merge 1 commit into
scanny:masterfrom
vitordj:donuthole
Open

feat(chart): doughnut hole size and first-slice angle#1136
vitordj wants to merge 1 commit into
scanny:masterfrom
vitordj:donuthole

Conversation

@vitordj

@vitordj vitordj commented Jun 15, 2026

Copy link
Copy Markdown

Implements the long-standing request (issue #493) to control the doughnut chart hole through the API, plus the sibling rotation control:

  • DoughnutPlot.hole_size (c:holeSize@val, 1..90, default 10)
  • DoughnutPlot.first_slice_angle (c:firstSliceAng@val, 0..360, default 0)

Adds CT_DoughnutHoleSize/CT_FirstSliceAng element classes, accessors on CT_DoughnutChart, and ST_HoleSize/ST_FirstSliceAng simple types with range validation. Tests: tests/chart/test_plot_ext.py (6); upstream tests/chart & tests/oxml unchanged.

Implements the long-standing request (issue scanny#493) to control the doughnut
chart hole through the API, plus the sibling rotation control:

- DoughnutPlot.hole_size (c:holeSize@val, 1..90, default 10)
- DoughnutPlot.first_slice_angle (c:firstSliceAng@val, 0..360, default 0)

Adds CT_DoughnutHoleSize/CT_FirstSliceAng element classes, accessors on
CT_DoughnutChart, and ST_HoleSize/ST_FirstSliceAng simple types with range
validation. Tests: tests/chart/test_plot_ext.py (6); upstream tests/chart &
tests/oxml unchanged.
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