Search code examples
iosios-charts

ios-charts hide values that are outside the bar bounds (stacked bar chart)


The values in my charts are currently being rendered outside of their respective bars, how do I make only those values that fit the bars visible?

enter image description here


Solution

  • This is a known issue, because the sub bar's height is smaller than the value text hight.

    You can override drawValues to filt those texts.