You are here: Symbol Reference > MtxVecTee Namespace > Functions > MtxVecTee.DrawValues Function
MtxVec VCL
ContentsIndex
PreviousUpNext
MtxVecTee.DrawValues Function

Copy several vectors to the same series in one pass.

Pascal
procedure DrawValues(const Vectors: Array of TVec; Series: TChartSeries); overload;

Copy each of the vector in Vectors array to Series TChartValueList(s): XValues, YValues, ZValues,.... Use this routine, if you want to copy several vectors to the same series in one pass.

Use this routine to construct error chart with only one line of code.

You want to plot error chart by ussing TErrorSeries (see Teechart help to learn more about this). If the necessary data is stored in three vectors: 

 

Vectors[0] = XVec, Vectors[1] = YVec, Vectors[2] = ErrorVec

 

then you can use 

 

var x,y,error: Vector; begin // ... DrawValues([x,y,error],ErrorSeries1); // ... end;

 

sVector x,y,error; // ... DrawValues(OPENARRAY(TVec*,(x,y,error)),ErrorSeries1); // ...
Examples on GitHub
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!