View 3D: Shifting Axis Location

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
User avatar
blakeadkins
Posts: 44
Joined: Tue Feb 25, 2014 7:49 pm

View 3D: Shifting Axis Location

Post by blakeadkins » Fri Feb 28, 2014 9:10 pm

I'm working with a View 3D graph and I basically have a 3D and I'm wondering if it is possible to put the position of the Y axis in the middle of the tube. I tried shifting all my data points, but then the graph doesn't rotate right.

User avatar
ArctionPasi
Posts: 1367
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: View 3D: Shifting Axis Location

Post by ArctionPasi » Sat Mar 01, 2014 1:29 pm

The Y axis is always in the edge of 3D world that is set by View3D.Dimensions. This "3D box" can show axes in the corners of the box. Dimensions.X = 100, Dimensions.Y = 50 and Dimensions.Z = 100 are the default values.

You can of course hide the walls and axes, to do some custom stuff. The chart rotates around almost the center point of the 3D box by default. You can edit the center point of rotation with View3D.Camera.Target. Setting Camera.Target.X = -50 and Target.Z = -50, the chart will rotate around the front left corner.
LightningChart Support Team, PT

User avatar
blakeadkins
Posts: 44
Joined: Tue Feb 25, 2014 7:49 pm

Re: View 3D: Shifting Axis Location

Post by blakeadkins » Tue Mar 04, 2014 1:41 am

Thanks!

Post Reply