Hi,
I've been trying unsuccessfully to figure out a way to format the dates displayed on the bottom axis of our line plot. I would like to be able to just display the years and only the years I would like to display. Is that possible and if so, how would I do it?
Thank you!
Joy
Format Date Display
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Joy,
First of all you may need to set your series XValues to be DateTime:
Then you will also have to set labels format:
For more information please read Tutorial 4. Tutorials are available at TeeChart's program group.
Hope this helps!
First of all you may need to set your series XValues to be DateTime:
Code: Select all
points1.XValues.DateTime = true;
Code: Select all
tChart1.Axes.Bottom.Labels.DateTimeFormat = "yyyy";
Hope this helps!
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 |
How Do I Avoid Duplicates
Hi,
Thank you that worked just great but now I'm trying to figure out how to avoid duplicates - right now it displays each date 2 or 3 times and I just want it to display each date once. I tried to do that by capturing the GetNextAxisLabel event but that made my webform unbelievably slow. Is there another way I could make that work?
Thank you!
Joy
Thank you that worked just great but now I'm trying to figure out how to avoid duplicates - right now it displays each date 2 or 3 times and I just want it to display each date once. I tried to do that by capturing the GetNextAxisLabel event but that made my webform unbelievably slow. Is there another way I could make that work?
Thank you!
Joy
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
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 |