Series functions lost datasource on save
Posted: Tue May 06, 2008 2:14 pm
Hi,
when I save chart (SaveChartToStream) it does not save datasource for functions. So when I load same stream back datasource is lost.
Is datasource (Source Series) missing on TCurvefittingfuntion on export?
I'm using TeeChart Pro v8.03.11043 Win32 sources.
Any suggestions how to fix this, this makes functions useless after save (is it fixed on latest sources)?
Thanks,
JES
when I save chart (SaveChartToStream) it does not save datasource for functions. So when I load same stream back datasource is lost.
Is datasource (Source Series) missing on TCurvefittingfuntion on export?
Code: Select all
object TLineSeries
Tag = 1
Marks.Arrow.Visible = True
Marks.Callout.Brush.Color = clBlack
Marks.Callout.Arrow.Visible = True
Marks.Visible = False
Title = 'Series 1'
LinePen.Width = 2
Pointer.InflateMargins = True
Pointer.Style = psRectangle
Pointer.Visible = False
XValues.DateTime = True
XValues.Name = 'X'
XValues.Order = loAscending
YValues.Name = 'Y'
YValues.Order = loNone
end
object TLineSeries
Tag = 2
Marks.Arrow.Visible = True
Marks.Callout.Brush.Color = clBlack
Marks.Callout.Arrow.Visible = True
Marks.Visible = False
Title = 'Curve fitting for Series1'
Pointer.InflateMargins = True
Pointer.Style = psRectangle
Pointer.Visible = False
XValues.DateTime = True
XValues.Name = 'X'
XValues.Order = loAscending
YValues.Name = 'Y'
YValues.Order = loNone
YValues.ValueSource = 'Y'
object TeeFunction1: TCurveFittingFunction
Period = 1.000000000000000000
end
end
Any suggestions how to fix this, this makes functions useless after save (is it fixed on latest sources)?
Thanks,
JES