How to set different border and chart background?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
moelski
Advanced
Posts: 212
Joined: Mon Apr 23, 2007 12:00 am
Location: Germany
Contact:

How to set different border and chart background?

Post by moelski » Mon Jul 23, 2007 7:26 am

Hi !

Maybe I´m blinded but I found no way to do this.
If you look at the theme "Blues", the chart background is light yellow. The border around the chart is a gradient from white to grey.

How can I set these two colors:
- the chart background color
- the border around the chart ?

moelski
Advanced
Posts: 212
Joined: Mon Apr 23, 2007 12:00 am
Location: Germany
Contact:

Post by moelski » Mon Jul 23, 2007 10:18 am

Ok I found it.

I have to use the back wall for this.

xxxxxx
Advanced
Posts: 128
Joined: Tue Jun 19, 2007 12:00 am
Location: Russia
Contact:

Post by xxxxxx » Mon Jul 23, 2007 10:20 am

Hi, Dominik!
Separate two objects:
  • Color and Gradient of TCustomChart.BackWall (walls/back in chart editor )is what you usually see within axes (if Transparent=False);
    Color and Gradient of TChart itself (panel in chart editor) is what you see as background
Regards, Alexander

moelski
Advanced
Posts: 212
Joined: Mon Apr 23, 2007 12:00 am
Location: Germany
Contact:

Post by moelski » Mon Jul 23, 2007 10:25 am

Ok I found it.

I have to use the back wall for this.

moelski
Advanced
Posts: 212
Joined: Mon Apr 23, 2007 12:00 am
Location: Germany
Contact:

Post by moelski » Mon Jul 23, 2007 10:26 am

Hi Alexander,

your right. I found it with some luck by myself :)

Thx anyway !!

Post Reply