Page 1 of 1

Would like to use Funtion Series...

Posted: Tue Aug 24, 2004 5:58 am
by 9083345
Hello,
at the moment, I am using v6. There was no matter when trying to show source series and funtion series together.
When I deactivated the source series and tried to show only the function series, the label was not printed on screen.
I would appreciate the help.
Thanks.

Posted: Tue Aug 24, 2004 4:43 pm
by Chris
Hi -
at the moment, I am using v6. There was no matter when trying to show source series and funtion series together.
When I deactivated the source series and tried to show only the function series, the label was not printed on screen.
I would appreciate the help.
The following code works OK here .. does it work OK at your end?

Code: Select all

Private Sub Command1_Click()
With TChart1
    .Series(0).Active = False
    .Series(1).CheckDataSource
End With
End Sub

Private Sub Form_Load()
With TChart1
    .AddSeries scLine
    .Series(0).FillSampleValues 20
    
    .AddSeries scLine
    .Series(1).SetFunction tfCumulative
    .Series(1).DataSource = .Series(0)
    .Series(1).CheckDataSource
End With
End Sub