Hi again,
I have this:
DateTime startShift = new DateTime(2010, 04, 29, 00, 00, 00);
DateTime endShift = new DateTime(2010, 04, 29, 07, 59, 59);
I set everything in my horizontal bar to show in my bottom axe the datetime variable as string.
However, What I need is to show just the "starShift" variable in the "minValueX" and the "endShift"
variable in the maxValueX of my chart.
tChart1.Axes.Bottom.Labels.DateTimeFormat = startShift.ToString();
tChart1.Axes.Bottom.Labels.MultiLine = true;
horizBar1.XValues.DateTime = true;
1) Could please tell me what property I need to change for display this?
DateTime startShift = new DateTime(2010, 04, 29, 00, 00, 00);must be shown
in the minvalueX.
DateTime endShift = new DateTime(2010, 01, 10, 07, 59, 59); must be shown
in the MAxValueX of my bottom axe.
2) Set as not visible the thicks in my chart.
Thanks a lot!
Assign datatime value to lbottom label
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Assign datatime value to lbottom label
Hi tenaris,
In that case you'd better set custom marks for those labels. You'll find an example at All Features\Welcome !\Axes\Labels\Custom labels in the features demo, available at TeeChart's program group.
In that case you'd better set custom marks for those labels. You'll find an example at All Features\Welcome !\Axes\Labels\Custom labels in the features demo, available at TeeChart's program group.
Best Regards,
Narcís Calvet / 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 |