You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
igorkulman
changed the title
Second to last value in stacked BarChart draw clear when the last value is zero
Second to last value in stacked BarChart not drawn when the last value is zero
May 4, 2019
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]
. Sometimesval3
is0
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
is0
thenval2
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 thesetChartData
method to sometimes or always setval3 = 0
.The text was updated successfully, but these errors were encountered: