Page 1 of 1

Transparent background for shape serie

Posted: Mon Jun 07, 2004 6:44 am
by 9079002
Hello !

I want to draw an shape serie on my chart but I want the background of it to be transparent BUT I want to have the pen visible (so I can see a pattern on it). So something like setting the brush transparent but still have a visible Pen.

Thank you

Posted: Mon Jun 07, 2004 8:58 am
by Pep
Hi Ced,

how about using :
tChart1.Series(0).AsShape.Transparent = true

?

Posted: Mon Jun 07, 2004 9:04 am
by 9079002
That doesn't work because in this case I have just two lines (the shape is a rectangle) and nothing in it: I want a pattern on it. But everything that is not the pattern must be transparent.

Posted: Mon Jun 07, 2004 9:50 am
by Pep
Hi Ced,

you can do this :

With TChart1
.Series(0).asShape.Brush.Style = bsCross
.Series(0).Color = clNone
End With

but does not allow to change the Brush color.