"curveValX"

Sets an X value for a curve at a certain time for the trend type value over value.

Synopsis

setValue(string shape, "curveValX", string Name, float XValue, time t);

shape.curveValX(string Name, float XValue, time t);

Parameters

Parameter Description
shape Name of the object
Name Name of the curve
XValue X value of the curve
t Time when the value is set

Description

This attribute is used to set the X value "XValue" for the indicated curve "Name" at time "t".

Example

The following example sets the value of the curve "curve1" to 5.5 on the 04.12.2014 at 12:00 p.m.

main()
{
  time now = makeTime(2014, 12, 04, 12, 00);
  TREND1.curveValX("curve1",5.5,now);
  TREND1.curveVal("curve1",5.5, now);
}

Assignment

Trend