Duplicate bottom label axis
Duplicate bottom label axis
hi there, how can I prevent bottom label axis. please refer to image.
- Attachments
-
- TeeChart-Duplicate.png (7.92 KiB) Viewed 5388 times
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Duplicate bottom label axis
Hello!
You should be able to use the Axis.Increment value, for example:
You should be able to use the Axis.Increment value, for example:
Code: Select all
private void InitializeChart()
{
tChart1.Aspect.View3D = false;
Points series = new Points(tChart1.Chart);
DateTime today = DateTime.Today;
Random rnd = new Random();
for (int i = 0; i < 24; i++)
{
series.Add(today, rnd.Next(100));
today = today.AddHours(2);
}
tChart1.Axes.Bottom.Labels.Angle = 90;
tChart1.Axes.Bottom.Increment = Utils.DateTimeStep[(int)DateTimeSteps.OneDay];
}
Best Regards,
Christopher Ireland / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |