Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/barchart updates #1388

Open
wants to merge 19 commits into
base: main
Choose a base branch
from

Conversation

jsheely
Copy link
Contributor

@jsheely jsheely commented Nov 28, 2023

I'm going to start the process for this PR to make it add more clarity on the issue #1382 raised to see exactly what was changed and to start the conversation

Key points

  • Added ValueFormatter for bar chart based on breakdown chart

  • Added label color option

  • I have read the Contribution Guidelines

  • I have commented on the issue above and discussed the intended changes

  • A maintainer has signed off on the changes and the issue was assigned to me

  • All newly added code is adequately covered by tests

  • All existing tests are still running without errors

  • The documentation was modified to reflect the changes OR no documentation changes are required.


Please upvote 👍 this pull request if you are interested in it.

@jsheely
Copy link
Contributor Author

jsheely commented Nov 28, 2023

@microsoft-github-policy-service agree

Copy link
Contributor

@patriksvensson patriksvensson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to cover the new functionality with some tests and update the documentation for the BarChart. I also think that the Progress bar changes should be moved to its own PR.

Also, we will need you to fill out the PR template as part of the PR. You can find it here: https://raw.githubusercontent.com/spectreconsole/spectre.console/main/.github/pull_request_template.md

src/Spectre.Console/Widgets/Charts/IBarChartItem.cs Outdated Show resolved Hide resolved
src/Spectre.Console/Widgets/ProgressBar.cs Outdated Show resolved Hide resolved
src/Spectre.Console/Spectre.Console.sln Outdated Show resolved Hide resolved
@jsheely jsheely mentioned this pull request Dec 26, 2023
6 tasks
src/Spectre.Console/Spectre.Console.sln Outdated Show resolved Hide resolved
src/Spectre.Console/Extensions/BarChartExtensions.cs Outdated Show resolved Hide resolved
src/Spectre.Console/Extensions/BarChartExtensions.cs Outdated Show resolved Hide resolved
@patriksvensson
Copy link
Contributor

We will also need to update the documentation so it reflect the new additions.

docs/input/widgets/barchart.md Outdated Show resolved Hide resolved
src/Spectre.Console/Widgets/Charts/BarChart.cs Outdated Show resolved Hide resolved
@github-actions github-actions bot added the ⭐ top pull request Top pull request. label Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⭐ top pull request Top pull request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants