Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
630
Chart plot area randomly doesn't stretch to bottom bounds
posted

I see a random issue in the charting component where the plot area doesn't always stretch(?) to the bottom bounds of the available area. I can't really figure out why it happens in some cases and not others. And it's random, sometimes it does it, sometimes not, which means maybe it's some timing issue? It generally fixes itself when I rotate the screen.

I also think it only happens when setting up the view programmatically using NSLayoutConstraints and visual format language.

Screenshot attached. In the example, you can see the X-Axis labels are in the correct position, but the plot area doesn't extend down to it all the time.

Any suggestions on some instance method to call, or an additional piece of code to fix this, or at least update the chart post-render so that it fills the entire area?

Using the latest SR, and I saw this issue in 7.1 and 8.1.