Pre loader

Aspect ratio for 3D chart

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

0
0

Is is possible to have a fixed aspect ratio for a 3D chart? I have found suggestions for 2D charts but not 3D. I want the X,Y,Z axes to all scale the same despite having different visible ranges. This means that the lengths of the axis should be different.

Version
6.2.1
  • You must to post comments
0
0

Hi Oleksandr,

unfortunately this is not the case for:

Camera3D.ProjectionMode=”Orthogonal” .

In this case even if I set WorldDimensions=”400,400,400″ and set Camera on the top of the chart:

<sci3D:Camera3D x:Name="Camera3D"  PrectionMode="Orthogonal" OrbitalPitch="90" OrbitalYaw="90" .../>

I expect to get the square XZ surface. This is unfortunately is not the case, the surface is distorted to fit the above container. Using :

HorizontalAlignment="Left" VerticalAlignment="Top"

also doesn’t help.

How to get the square XZ surface which keeps the aspect ratio when being zoomed with the WPF window?

SciChart for WPF version 7.0.0.26941.

Regards,
Ivan

  • You must to post comments
0
0

Hi Myles,

Thanks for your inquiry.
This can be achieved by setting the WorldDimensions property. Please take a look at the “Setting the WorldDimensions Property” section of the following documentation for more info:
https://www.scichart.com/documentation/win/current/webframe.html#The%20SciChart3DSurface%20WorldDimensions%20Property.html

Hope this helps.

With best regards,
Oleksandr

  • 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