SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components

0
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.