ngx-charts
ngx-charts copied to clipboard
Add bar-max-width for vertical-bar-chart
What kind of change does this PR introduce? (check one with "x")
- [ ] Bugfix
- [x] Feature
- [ ] Code style update (formatting, local variables)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] CI related changes
- [ ] Other... Please describe:
What is the current behavior? (You can also link to an open issue here) The bars in a vertical bar chart always span the entire width of the chart. even when there is only one bar, which can be aesthetically displeasing
What is the new behavior?
When the new [barMaxWidth] is added to the chart, no single bar will be wider than the supplied value.
If the total of all bars is larger than the view port or a value is not supplied, the normal width logic is used.
Does this PR introduce a breaking change? (check one with "x")
- [ ] Yes
- [x] No
If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information: Issue #831
This PR looks very useful. Any chances to merge it?
Any update on this?
Will this be merged anytime soon?
We are also need this feature, can you merge it and add it also to horizontal bar?
Any update for this issue? I would need this feature as well!
please can you solve this issue??
Any update on this merge request?
any updates, please can finish this issue as possible as can?
Hello guys any good news about that PR ?
Is this coming soon? This would be a really great feature!
< would also love this enhancement!
Is there any news on this?
Would love to have this.
Any update on this?
Hey, any feedback on this? the feature is really needed!!!
Is there any work around for this? The bars are almost comically wide and this PR has been left open for 2 years.
Still no news for this PR? Agree with previous, it's comically wide. It's making us considering using another lib.
any update on this? I would like this feature for vertical stacked bar charts as well.
Any updates on this issue?
any update or work around for this?
Hi @tomguilbault do you have time to fix the conflict ? Otherwise I can help.
Is anyone actively maintaining this? If not, I am going for fork the whole project and do what needs to be done.
Hi Team,
We must have minimum and maximum bar width feature in ngx vertical bar chart. This is crucial feature for all of us, who are using ngx so, can you please merge this PR so that people will not migrate to other charts. @aaronscribner Thanks, Siva Vempati,
@rafaelsilvany @vempatiforcode I already forked this to our company repo so we can make the changes. We will submit a PR. If they want the changes, then they can have them, if not, we will continue the development on a different stream.
@tomguilbault thanks for the start on this. I will use your code as a reference for the latest fork.
The features we intend to add
- Min bar width
- Max bar width (which is mostly done from this PR)
- Dynamically adjusting graph width with scrolling set for horizontal overflow (much like D3js does)
- Option to center the data in the middle of the graph (we already do this, but in a hacky way)
@aaronscribner Have you had any success so far? We also need this
@aaronscribner Have you had any success so far? We also need this
I have not had time to work on it as it is currently not prioritized in our sprints.
CC: @rafaelsilvany @vempatiforcode
@danfleser This feature is priority to us so, can you please review and resolve the conflicts.
@aaronscribner
@aaronscribner it's also a priority for us. So it would be very good for us if we can get this merged, either in your fork or in the original?
Any change of this being any time soon?
Any new updates?
@aaronscribner , any updates here?