What did you do?
I have created a stacked BarChart with 3 values, just like in the StackedBarChartViewController sample.
The values are in form of [val1, val2, val3]. Sometimes val3 is 0
What did you expect to happen?
I expected the BarChart to be drawn properly, every non-zero value to be shown
What happened instead?
Anytime val3 is 0 then val2 does not get drawn. Only its label is visible:

Charts Environment
Charts version/Branch/Commit Number:
Xcode version: 10.2.1
Swift version: 5
Platform(s) running Charts: iOS
macOS version running Xcode: 10.14.4
Demo Project
In the sample project open StackedBarChartViewController and change the setChartData method to sometimes or always set val3 = 0.
What did you do?
I have created a stacked BarChart with 3 values, just like in the
StackedBarChartViewControllersample.The values are in form of
[val1, val2, val3]. Sometimesval3is0What did you expect to happen?
I expected the BarChart to be drawn properly, every non-zero value to be shown
What happened instead?
Anytime
val3is0thenval2does not get drawn. Only its label is visible:Charts Environment
Charts version/Branch/Commit Number:
Xcode version: 10.2.1
Swift version: 5
Platform(s) running Charts: iOS
macOS version running Xcode: 10.14.4
Demo Project
In the sample project open
StackedBarChartViewControllerand change thesetChartDatamethod to sometimes or always setval3 = 0.