Area Series Quesion

TeeChart for ActiveX, COM and ASP
Post Reply
TChartUser
Newbie
Newbie
Posts: 12
Joined: Fri Nov 15, 2002 12:00 am
Location: San Diego, CA

Area Series Quesion

Post by TChartUser » Fri Jun 04, 2004 6:26 pm

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

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

Post by Pep » Sun Jun 06, 2004 1:15 am

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

TChartUser
Newbie
Newbie
Posts: 12
Joined: Fri Nov 15, 2002 12:00 am
Location: San Diego, CA

Post by TChartUser » Thu Jun 10, 2004 3:47 pm

That did it, thanks!

:o

Post Reply