Pre loader

Embed in Navigation Controller

1
0

When I embed my view controller in a navigation controller the top of the chart is hidden behind the navigation bar. So I went to the storyboard and found the view controller attributes section called “extend edges” and turned off the option called “under top bars”. This fixes the top of the chart. Now the bottom of the chart drops off the bottom of the screen. The x-axis is completely missing. Does SciChart support this case?

Version
11.2
Images
  • You must to post comments
1
0

Nevermind, I found the answer in one of the online tutorial pages. Solution is to add this line:

sciChartSurface?.autoresizingMask = [.flexibleHeight, .flexibleWidth]

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies