Axis Labels Colouring

TeeChart for ActiveX, COM and ASP
Post Reply
Rossmc
Newbie
Newbie
Posts: 27
Joined: Wed Jul 28, 2004 4:00 am
Location: South Africa

Axis Labels Colouring

Post by Rossmc » Tue Feb 08, 2005 7:59 am

I have dates on the X Axis, formatted as follows: When the year changes I label that point with the Year (02,03,04 etc) then each time the month changes I label that point with the month (Jan, Feb etc). Can I make the month labels one colour and the year labels another?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Feb 08, 2005 8:53 am

Hi Rossmc,

Yes, this can be done using custom labels or you may also implement it using alternate labels and change the colors on the GetAxisLabels event. You will find an example of each case in the features demo inlcuded with the installation and searching for the text in itallics.
Best Regards,
Narcís Calvet / 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