Page 1 of 1

Help - labelling XAxes & background for chart

Posted: Mon Mar 07, 2005 2:27 am
by 9236155
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

Posted: Mon Mar 07, 2005 9:43 am
by narcis
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.

Posted: Tue Mar 08, 2005 4:24 am
by 9236155
Tks Narcis !! Have been able to figure out both with the hints you gave.