Help - labelling XAxes & background for chart

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Satish
Newbie
Newbie
Posts: 37
Joined: Fri Mar 04, 2005 5:00 am

Help - labelling XAxes & background for chart

Post by Satish » Mon Mar 07, 2005 2:27 am

I am new to this forum and a novice as far as using TeeChart Pro Ver 7 is concerned. I need help on two issues in trying to plot stocks data :-


1. Need to label Xaxes only when month changes such as Jan Feb Mar etc. I don't need to have dates displayed more frequently than this. In a nutshell the Xaxes should get labelled with the month only if the date is first day of the month. Will appreciate a program stub for Delphi 7.

2. Need chart background of plain white with vertical and horizontal grid lines. Tried all themes I get alternate bands of white and gray with grid lines. I wish to really have plain white background not alternating white and gray. None of the available theme combinations seems to work for me.

Satish

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

Post by Narcís » Mon Mar 07, 2005 9:43 am

Hi Satish,
1. Need to label Xaxes only when month changes such as Jan Feb Mar etc. I don't need to have dates displayed more frequently than this. In a nutshell the Xaxes should get labelled with the month only if the date is first day of the month. Will appreciate a program stub for Delphi 7.
If you have a look at the TeeChart features demo included in the TeeChart program group you can search for "Axis labels no weekends" example which shows you how to get this behaviour.
2. Need chart background of plain white with vertical and horizontal grid lines. Tried all themes I get alternate bands of white and gray with grid lines. I wish to really have plain white background not alternating white and gray. None of the available theme combinations seems to work for me.
Then you should set the panel background color to white.
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

Satish
Newbie
Newbie
Posts: 37
Joined: Fri Mar 04, 2005 5:00 am

Post by Satish » Tue Mar 08, 2005 4:24 am

Tks Narcis !! Have been able to figure out both with the hints you gave.

Post Reply