I have a chart with three series. Series(2) I set as a function, to be equal to series(0). Now I want to change it back to manual, but changes made to it in the Edit window are not saved - it keeps reverting back to = series(0), regardless of what data I put into it at runtime.
Even setting series(2).datasource = "manual" at run time does not help - series(2) continues to contain the same data as series(0).
Cannot change data source from function
Hi,
yes, you're correct, it's a bug which has been added down our defect list, and a fix for it will be considered to inclusion for the next maintenance releases.
A workaround is to set the Series to "manual" via code, I've test it using the following code with the latest Teechart Pro v7 and worked fine :
yes, you're correct, it's a bug which has been added down our defect list, and a fix for it will be considered to inclusion for the next maintenance releases.
A workaround is to set the Series to "manual" via code, I've test it using the following code with the latest Teechart Pro v7 and worked fine :
Code: Select all
With TChart1.Series(2)
.DataSource = "manual"
.CheckDataSource
.Clear
.AddXY 0, 10, "", clTeeColor
.AddXY 1, 12, "", clTeeColor
End Sub
Pep Jorge
http://support.steema.com
http://support.steema.com