swimlane / ngx-charts

:bar_chart: Declarative Charting Framework for Angular
https://swimlane.github.io/ngx-charts/
MIT License
4.29k stars 1.15k forks source link

how to change bar size of barchart in manually ? is it possible? #665

Open Navya-adft opened 6 years ago

Navya-adft commented 6 years ago

I'm submitting a ... (check one with "x")

[ ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here

Current behavior

Expected behavior

Reproduction of the problem

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

konstantinblaesi commented 6 years ago

Are you talking about the width (vertical bar chart) or the height (horizontal bar chart) of the individual bars? If yes, I am wondering about the same thing and have not found any way to customize this, yet. This is my current use case: If you have a UI displaying a dynamic (think of a user selecting s.th. like "top N keywords") number of bars in a horizontal bar chart, it would be nice to set a fixed bar height and make the overall height of the bar chart dynamic to prevent squeezing the bars together until you cannot even see them anymore.