Bar chart

Bar chart

Post by Man Ut » Sat, 03 Dec 2005 14:18:39

Delphi 7.

Is this possible to dispaly the y-value on the top of each bar ?

Bar chart

Post by David Bern » Mon, 05 Dec 2005 05:17:41

Yes. The default behaviour is to show the text label, if it exists.
To change to show the "y" value:

Series1.Marks.Style:= smsValue;

Series1.Marks.Visible := True;



Bar chart

Post by Man Ut » Wed, 07 Dec 2005 08:17:56

Thank you for your answer.
My chart has only one series, how do I refer to the "series" ?
I found I can set at design time by going to the Chart Editor, but I cannot
format the display like in money format, eg. $123.20.
I want a dollar sign with the value.