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

Feature request: burnup chart? #141

Open
StevenACoffman opened this issue Nov 1, 2021 · 1 comment
Open

Feature request: burnup chart? #141

StevenACoffman opened this issue Nov 1, 2021 · 1 comment

Comments

@StevenACoffman
Copy link

Hi! I have used and loved this already, but I was curious if there was any interest in supporting burn-up charts?

A burn-down chart shows the amount of work remaining on a project (the remaining effort), whereas a burn-up chart shows how much work has been completed and the total scope of the project.

The problem I have is that my projects end up having some scope increases as we discover unplanned work, and the burn-down chart tends to look weird (work completed in a sprint can be more than cancelled out by scope increase appearing as negative progress).

@radekstepan
Copy link
Owner

Hi @StevenACoffman and glad you are liking it! I don't have time to add the feature myself but I can point you in the right direction.

Basically, what you'd want to do is to modify config and add something like "burnup": false (to default to burndown).

Then here you would start with 0:

https://github.com/radekstepan/burnchart/blob/master/src/js/modules/chart/lines.js#L17

Here you would be adding to the current total rather than subtracting:

https://github.com/radekstepan/burnchart/blob/master/src/js/modules/chart/lines.js#L31

And then do the same for the ideal line:

https://github.com/radekstepan/burnchart/blob/master/src/js/modules/chart/lines.js#L86-L88

Hope it helps and if you have a PR going I'd be happy to review and merge.

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

No branches or pull requests

2 participants