Changing color of asArea.AreaBrush patterns

TeeChart for ActiveX, COM and ASP
Post Reply
LundyJ
Newbie
Newbie
Posts: 6
Joined: Mon Dec 22, 2003 5:00 am

Changing color of asArea.AreaBrush patterns

Post by LundyJ » Thu Dec 02, 2004 8:07 pm

Using VB6 with TChart v6.0.0.6

I am trying to modify the color used for the patterns within my area graph.

I can change the background color of an individual area section by using:
graph.Series(0).Color property.

But what I really want to do is set the background color to white and change the color of the pattern itself.

I have tried...
graph.Series(0).asArea.AreaPen.Color
graph.Series(0).asArea.LinePen.Color

What property sets this?

Thanks in advance!

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

Post by Narcís » Fri Dec 03, 2004 10:06 am

Hi LundyJ,

The pattern color can be changed easily using the pattern editor color, but the pattern lines are coloured according to the series colour.
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

Pep
Site Admin
Site Admin
Posts: 3273
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Fri Dec 03, 2004 11:18 am

Hi,

I you're trying to change it at runtime, then I mus tell you that it's seems to be a bug and cannot be changed. I've added it on our defect list and a fix for it will be considered to inclusion for the next maintenance releases. In menatime the only workaround is to changing it at design time.

LundyJ
Newbie
Newbie
Posts: 6
Joined: Mon Dec 22, 2003 5:00 am

Post by LundyJ » Fri Dec 03, 2004 3:52 pm

Yes, I am trying to (and need to) change it at runtime. I will wait for the bug fix.

Thanks!

Post Reply