Y-Axis settings of 3D Tchart.WPF

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
neurosoft
Newbie
Newbie
Posts: 10
Joined: Fri May 17, 2013 12:00 am

Y-Axis settings of 3D Tchart.WPF

Post by neurosoft » Thu Jul 25, 2013 11:11 am

Hello Steema!
I use WPF version of TChart and I want to create 3D surface. I've added surface series to TChart and I have got 3D picture. But I can't set Title, Label, etc. of Y-Axes or I don't know how to do it. I've tried to set TChart.Axes.Depth.Title.Text property but it's had no effect. What I do wrong?
In Windows Forms version of TChart it works ok. Maybe it's a bug?

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Y-Axis settings of 3D Tchart.WPF

Post by Yeray » Fri Jul 26, 2013 3:25 pm

Hi,

The following code seems to work fine for me here:

Code: Select all

Surface surf1 = new Surface(tChart1.Chart);
surf1.FillSampleValues();

tChart1.Aspect.Orthogonal = false;
tChart1.Aspect.Chart3DPercent = 100;
tChart1.Aspect.Zoom = 75;

tChart1.Axes.Depth.Visible = true;
tChart1.Axes.Depth.Title.Text = "My depth axis";
2013-07-26_1723.png
2013-07-26_1723.png (124.89 KiB) Viewed 6052 times
If you still find problems with it, please try to arrange a simple example project we can run as-is to reproduce the problem here.
Thanks in advance.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

neurosoft
Newbie
Newbie
Posts: 10
Joined: Fri May 17, 2013 12:00 am

Re: Y-Axis settings of 3D Tchart.WPF

Post by neurosoft » Mon Jul 29, 2013 4:37 am

Thanks, it works now. My problem was that Depth.Visible is false by default.

Post Reply