"curveDataSource"

The attribute "curveDataSource" returns the data point for a specified curve.

Synopsis

getValue(string shape, "curveDataSource", string curve, string &dp);

Parameter

Parameter Description
shape Object name
curve The curve
dp The data point (return value) of the curve

Description

The attribute "curveDataSource" returns the data point for a specified curve.

The attribute "curveDataSource"; will only be interpreted when the panel has been loaded.

Example

The following example returns the data point for the curve "Test_curve".

main()
{
  string obj = "TREND1";
  string k = "Test_curve";
  string dp;
  getValue(obj,"curveDataSource",k,dp);
  DebugN("curveDataSource: Data point ",dp," for the curve:",k);
}

Assignment

Trend