Hello!
I use "waterfall" and I add points using code like this:
for (int i = 0; i <= 40; i++)
{
tChart1.Series[0].Add(i, (autoRand.Next(100)));
}
But I really don't know how to access to Z level. How can I set the new Z level when I add new (x,y) array of points?
Thank you.
Setting Z axis using Waterfall
Hi Tequilla
You can read how "3D series" work in the following post. It is explained in VCL, but in NET it's the same.
You can read how "3D series" work in the following post. It is explained in VCL, but in NET it's the same.
Thank you Edu.9348258 wrote:Hi Tequilla
You can read how "3D series" work in the following post. It is explained in VCL, but in NET it's the same.
I have read the topic, but I can't find addXYZ method in .NET TeeChart.
There is possibility to add points using "add" method only. I can't add Z value using this method but x,y only.
Hi Tequilla
In NET, (AddXY(), AddXYZ() ...) methods don't exist you have to use one of the Add method's overloads...
You have to do something similar as below code:
In NET, (AddXY(), AddXYZ() ...) methods don't exist you have to use one of the Add method's overloads...
You have to do something similar as below code:
Code: Select all
Random rnd = new Random();
for (int x = 0; x < 10; x++)
for (int z = 0; z < 4; z++)
waterfall1.Add(x, rnd.Next(), z);