"curveLegendText", "curveLegendTextX"

Returns the legend text of the stated curve.

Synopsis

trendObj.curveLegendText(string curve, string &text)

getValue(trendObj, "areaStopped", string curve, string &text);

Parameter

Parameter Description
trendObj Trend for which the attributed should be get
curve Name of the curve
text Legend text of the curve

Description

The attribute allows to get the text of the legend for the stated curve.

Example

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

main()
{
  string curve = "myFirstCurve";
  string text;
  myTrend.curveLegendtext(curve, text);
  DebugN(text);
}

Assignment

Trend