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.

Parents
No Data
Reply
  • 23930
    Offline posted

    Hi Jeff,

    Thank you for contacting Infragistics Developer Support.

    I tried to reproduce this issue and everything works fine for me – even if I set NSLayoutConstraints the chart plot area is displayed properly. Can you please provide me with an isolated sample that reproduces the issue? I have attached the sample I used in order to test this for your reference and you can using as a starting point.

    I am looking forward to your reply.

    IGChartPlotAreaIssue.zip
Children