View 3D: Shifting Axis Location
Moderator: Queue Moderators
- blakeadkins
- Posts: 44
- Joined: Tue Feb 25, 2014 7:49 pm
View 3D: Shifting Axis Location
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.
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: View 3D: Shifting Axis Location
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.
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
- blakeadkins
- Posts: 44
- Joined: Tue Feb 25, 2014 7:49 pm