Page 1 of 1

Y-Axis settings of 3D Tchart.WPF

Posted: Thu Jul 25, 2013 11:11 am
by 15665989
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?

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

Posted: Fri Jul 26, 2013 3:25 pm
by yeray
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 6092 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.

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

Posted: Mon Jul 29, 2013 4:37 am
by 15665989
Thanks, it works now. My problem was that Depth.Visible is false by default.