Page 1 of 1

Zoom Exceeds Frame

Posted: Tue Oct 13, 2009 9:00 am
by 15050891
Hello,

I have created a surface plot, consisting of 20 by 100 elements.

The plot is displayed correctly. however when zooming the zoomed area is displyed outside of the axes, overwriting the x an y axis.

I have attached a Visual C++ (2008) example. Press plot palettes and then zoom to see the problem.

Regards
JB

Re: Zoom Exceeds Frame

Posted: Tue Oct 13, 2009 12:01 pm
by yeray
Hi Jacques,

I can't run your application here as it uses some components we don't have here. So please, try to arrange a simple example project we can run as-is here to reproduce the problem.

Thanks in advance.

Re: Zoom Exceeds Frame

Posted: Fri Oct 16, 2009 11:56 am
by 15050891
Hello Yeray,

Which components are those?

Regards
JB

Re: Zoom Exceeds Frame

Posted: Mon Oct 19, 2009 11:09 am
by yeray
Hi Jacques,

Excuse me, I hadn't the Visual C++ 2008 Feature Pack...

I've found that adding the following to the begin of your OnBnClickedBtnPlot3d, the problem seems to be solved:

Code: Select all

m_colorGrid.ClearChart();
m_colorGrid.GetAspect().SetView3D(false);
That makes me think that I can be missing something else you've set to the chart. Then I'm trying to reproduce the same in a WinFroms application. Could you please see if you can reproduce the problem there and tell us what are we missing?