swimlane / ngx-charts

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

Can't use multi data with vertical bar chart #871

Closed AhmedMasoodSiddiqui closed 4 years ago

AhmedMasoodSiddiqui commented 6 years ago

Current behavior can't use multi data

Expected behavior data with multi parts should show in different bars according to provided data

link to example https://stackblitz.com/edit/vertical-bar-chart?embed=1&file=app/app.component.ts

angelvazquezmenendez87 commented 4 years ago

I was able to reproduce the same issue.

Hypercubed commented 4 years ago

I see nothing out of the ordinary with the example provided. If you want grouped data you need to use another chart tyle... for example ngx-charts-bar-vertical-2d.

angelvazquezmenendez87 commented 4 years ago

Yeah sorry about not notify it before, I solved the problem using ngx-charts-bar-vertical-2d. Thank you so much