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

Stacked Vertical Bar broken since 6.1.0 #590

Open markmssd opened 6 years ago

markmssd commented 6 years ago

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

[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 It shows only the first bar, all black. You can see the bug in the documentation as well: https://swimlane.gitbooks.io/ngx-charts/content/charts/bar-vertical-stacked.html

Expected behavior Should be showing all bars, with the desired customColors scheme.

Reproduction of the problem

markmssd commented 6 years ago

Also, reverting to 6.0.2 fixes the issue, so it's really since 6.1.0 only

Moulde commented 6 years ago

I came here to report this as well. It seems that all vertical bar charts are broken.

Moulde commented 6 years ago

It seems that this is an incompatibility between angular and this library. Changing the samples to use the most recent version of angular 4.4.5 (atm, i think), fixes the vertical bar charts. So either upgrade angular, if possible, or downgrade this version to 6.0.2 like @markmssd says.