Page 1 of 1

Area Series Quesion

Posted: Fri Jun 04, 2004 6:26 pm
by 6924764
Sorry this is a duplicate that I just posted on the newsgroup. I just found the lic/pass - sorry...


1) How do I turn off the Area Lines in an area series? I tried lines below
but it fails...

Chart2.Series(1).AreaLines.Visible = False
Chart2.Series(1).asArea.Lines.Visible = False


2) Can I make the area filled under the series transparent? Attempts below
fail...

Chart2.Series(1).asArea.Transparent = 50

Thanks,
Don

Posted: Sun Jun 06, 2004 1:15 am
by Pep
Hi Don,

both can be done using the following code :

Code: Select all

Private Sub Form_Load()
With TChart1
    .Aspect.View3D = False
    .AddSeries scBar
    .Series(0).FillSampleValues (5)
    .AddSeries scArea
    .Series(1).FillSampleValues (5)
    .Series(1).asArea.AreaPen.Visible = False
    .Series(1).asArea.Transparency = 50
End With
End Sub

Posted: Thu Jun 10, 2004 3:47 pm
by 6924764
That did it, thanks!

:o