Author |
Topic |
|
Sam
Australia
9 Posts |
Posted - 29 Jul 2014 : 23:27:53
|
Hi,
I am trying to edit the intercept point for a Grid - I don't always want it sitting on 0. In your linePlot3D example - if I add the line 'xgrid.GridAxisPlaneIntercept = 2;' It seems to do nothing. Imagining all the data were offset by 2 in the Z axis for example, how can I shift the grid plane to stick near the data?
Thanks. |
|
quinncurtis
1586 Posts |
Posted - 30 Jul 2014 : 09:20:20
|
In the LinePlot3D example, the z-axis is auto-scaled from 0.0 to 1.0, so any intercept needs to between those two points, 0.5 in the example below. Seems to work for us, placing the grid plane orthogonal to and in the middle of the z-axis. An intercept value of 2 also works, though it places the grid plane way outside the plotting area.
// Define x-, y-grids Grid xgrid = new Grid(xAxis, yAxis, ChartObj.X_AXIS, ChartObj.GRID_MAJOR); xgrid.GridAxisPlaneIntercept = 0.5; chartVu.AddChartObject(xgrid);
Grid ygrid = new Grid(xAxis, yAxis, ChartObj.Y_AXIS, ChartObj.GRID_MAJOR); ygrid.GridAxisPlaneIntercept = 0.5; chartVu.AddChartObject(ygrid); |
|
|
Sam
Australia
9 Posts |
Posted - 03 Aug 2014 : 20:23:55
|
Hmm. Something is going wrong here. Maybe there is a problem with my install. I'm running from the current demo download. I set those lines of code, as you say, and the grid is still on 0 on the z axis. Like this:
|
|
|
Sam
Australia
9 Posts |
Posted - 03 Aug 2014 : 20:26:49
|
Certainly it responds to other changes I make - I can shift the data itself, for example. It just seems like when I set the plane intercept for the grids, that it does nothing. |
|
|
quinncurtis
1586 Posts |
Posted - 04 Aug 2014 : 10:32:29
|
You are correct. That does seem to be a bug in the trial version of the software, not present in the developer version we were testing. We updated the trial version, so if you want to upload a version with the fix, use the link from our QCChart3D for .Net web site page. |
|
|
Sam
Australia
9 Posts |
Posted - 08 Aug 2014 : 02:47:43
|
Hi,
I went to this page 'http://www.quinn-curtis.com/QCChart3DProdPage.htm and downloaded a file with this name 'Trial_QCChart3DR1x7.zip' and the problem still seems to be present - working from the SimpleLinePlots, LinePlot3D demo, after making the code change to add: xgrid.GridAxisPlaneIntercept = 0.5; ygrid.GridAxisPlaneIntercept = 0.5; Any ideas?
|
|
|
quinncurtis
1586 Posts |
Posted - 08 Aug 2014 : 08:51:02
|
Sorry, download file was not given the correct name in the download directory. it has been corrected, so download and install it again. |
|
|
|
Topic |
|
|
|