Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Microsoft .Net & .Net Compact Framework
 QCChart3D 3D Charting Tools for .Net (VB and C#)
 GridAxisPlaneIntercept bug? C#
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Sam

Australia
9 Posts

Posted - 29 Jul 2014 :  23:27:53  Show Profile  Reply with Quote
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

1551 Posts

Posted - 30 Jul 2014 :  09:20:20  Show Profile  Reply with Quote
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);
Go to Top of Page

Sam

Australia
9 Posts

Posted - 03 Aug 2014 :  20:23:55  Show Profile  Reply with Quote
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:
Go to Top of Page

Sam

Australia
9 Posts

Posted - 03 Aug 2014 :  20:26:49  Show Profile  Reply with Quote
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.
Go to Top of Page

quinncurtis

1551 Posts

Posted - 04 Aug 2014 :  10:32:29  Show Profile  Reply with Quote
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.
Go to Top of Page

Sam

Australia
9 Posts

Posted - 08 Aug 2014 :  02:47:43  Show Profile  Reply with Quote
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?
Go to Top of Page

quinncurtis

1551 Posts

Posted - 08 Aug 2014 :  08:51:02  Show Profile  Reply with Quote
Sorry, download file was not given the correct name in the download directory. it has been corrected, so download and install it again.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07