Pre loader

resize behavior without stretching

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

Answered
1
0

Hello,

In one use case of our application it is desired to keep the sizes of lines and shapes constant even when the viewport size is changing. On resizing, just a differnt portion of the same content is shown as we are used from office writers etc.

What is the most simple way to achieve this behavior?

Thanks very much!

Thoralf

  • You must to post comments
Best Answer
1
0

There are now two related answers for this question on the forums. Please find them below

1/ Maintaining aspect ratio of the SciChartSurface panel itself

2/ Manipulating VisibleRange to maintain aspect ratio

  • You must to post comments
1
0

Hello Andrew,

Thank you. I mean resizing of the SciChart surface that happens on window resizing. SciChart keeps the X/Y ranges constant by default but we need a different behavior: In fact, the ranges must grow as surface size grows, showing more or less details of the chart. The dimensions of the curves on the screen must not change.

  • You must to post comments
Showing 2 results
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