"curveFormattedValue","curveFormattedValueX"

Returns the formatted value as displayed inside of the legend.

Synopsis

trendObj.curveFormattedValue(string curve, float value, string &result)

getValue(trendObj, "curveFormattedValue", string curve, float value, string &result);

Parameter

Parameter Description
trendObj Trend for which the attributed should be get
curve Name of the curve
value Value that should be returned
result Actual returned result of the value with the used formatting

Description

Returns the formatted legend text for the stated value from the stated curve..

Example

Following example returns the legend text of the curve "myFirstCurve".

main()
{
  string curve = "myFirstCurve";
  float val = 3.1415;
  string result;
  myTrend.curveFormattedValue(curve, val, result);
  DebugN(result);
}

Assignment

Trend