Page 1 of 1

Need help in Axes label

Posted: Wed Sep 09, 2009 10:49 am
by 13046152
Hi,

I am getting string format labels when i add string in box/points.
I am using the following code.

points1.Add(1, 10,"x=10");
points1.Add(2, 20, "x=20");
points1.Add(3, 30, "x=30");

horizBox1.Add(1, 10);
horizBox1.Add(2, 20);
horizBox1.Add(3, 30);
// horizLine1.Add(1, 10, "y=10");
// horizLine1.Add(2, 20, "y=20");
// horizLine1.Add(3, 30, "y=30");

How to show X/Y values instead of string in Axes?

With Regards,
Vivek.J

Re: Need help in Axes label

Posted: Wed Sep 09, 2009 11:10 am
by narcis
Hi Vivek,

You can set labels style to display values:

Code: Select all

			tChart1.Axes.Bottom.Labels.Style = Steema.TeeChart.AxisLabelStyle.Value;