mirror of
https://github.com/mum4k/termdash.git
synced 2026-04-27 03:15:55 +03:00
[PR #384] [MERGED] Implement Pie widget #375
Labels
No labels
bug
cleanup
enhancement
enhancement
enhancement
good first issue
help wanted
help wanted
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/termdash#375
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/mum4k/termdash/pull/384
Author: @VincenzoManto
Created: 8/23/2025
Status: ✅ Merged
Merged: 9/28/2025
Merged by: @mum4k
Base:
devel← Head:master📝 Commits (8)
a3b6126Implement Pie widget with options and drawing functionalityb54fe2dAdd Pie widget documentation with demo instructions74c3a27Refactor options validation and enhance ColorOption function for pie chart customization527a603Refactor pie chart drawing logic to simplify radius calculations and improve arc renderingc895777Add test case for drawing a two-slice pie chart with verificationfb25721Refactor pie widget code for improved readability and organization74d9298Remove unnecessary blank line in pie chart drawing function documentation4ef3ff7Update README and pie widget documentation for clarity and accuracy📊 Changes
5 files changed (+466 additions, -0 deletions)
View changed files
📝
README.md(+9 -0)➕
widgets/pie/options.go(+57 -0)➕
widgets/pie/pie.go(+162 -0)➕
widgets/pie/pie_test.go(+173 -0)➕
widgets/pie/piedemo/piedemo.go(+65 -0)📄 Description
As in #383 this is an implementation of a Pie widget (better a donut multi values)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.