Currently I have some code im using to create an avg for a series of
values. However it only seems to work for the horizontal axis. So if the
series its using as a datasource has its independent axis changed to the
vert axis it will ignore those series values instead taking the avg
values from the horizontal axis which is now the dependant values. Any
ideas?



                                                QAQCseries :=
TLineSeries.Create(thechart);
                                    QAQCseries.Title :=
series[seriesIndex].title + ' Average';
 
QAQCseries.SetFunction(TAverageTeeFunction.Create(self));
                                    QAQCseries.ParentChart := thechart;
                                    QAQCseries.DataSource :=
series[seriesIndex];
                                    AddSeries(QAQCseries);
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to