Page 1 of 1

Failure when using ITChart.ChangeSeriesType

Posted: Mon Feb 23, 2004 3:54 pm
by 6926650
When trying to change a scLine to a scFastLine, the scLine is removed but there is nothing under scFastLine, so trying to set anything under it gives 'Catastrophic failure'. Please help???

Posted: Tue Feb 24, 2004 9:17 am
by Pep
Hi,

which TeeChart version are you using ? Also, could you please post the code so I can reproduce the problem "as is" here ?
The following code works just fine here using the latest TeeChart Pro v6.04, could you test it ?

Code: Select all

Private Sub Form_Load()
With TChart1
    .AddSeries scLine
    .Series(0).FillSampleValues (10)
End With
End Sub

Private Sub Command1_Click()
    TChart1.ChangeSeriesType 0, scFastLine
End Sub