Date

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Alberto Brivio
Newbie
Newbie
Posts: 1
Joined: Tue Jun 03, 2008 12:00 am

Date

Post by Alberto Brivio » Tue Jan 24, 2012 9:58 am

Dear All,

I have implemented TeeChart in a financial application environment but I would have a request about date handling:


as you know, in the axis data are reported date (for example day/month) in order to have the same time interval but doing so tha day of the month is not the same.

This is a big problem mainly for financial investors , which would have for each time interval the end of month as day reported in the axis data.

Please, is possible to get this format?

I f no, are available other releases in order to do this?

Many thanks in advance.


Regards

Alberto Brivio

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Date

Post by Sandra » Wed Jan 25, 2012 9:33 am

Hello Alberto,

You can change the format of your Axes DateTime and your Date values using property DateTimeFormat for axes and ValueFormat to date values as do in next lines of code:

Code: Select all

axis.Labels.DateTimeFormat = "dd/MM";
Can you tell us if previous code works as you want? And also I recommend you take a look in the Tutorial 4- Axis Control/Increment

I hope will helps.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply