Duplicate bottom label axis
Posted: Mon Oct 31, 2016 8:57 am
hi there, how can I prevent bottom label axis. please refer to image.
Steema Software - Customer Support Forums
http://teechart.com/support/
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];
}