Changes
Created page with "Adds or removes a left-side extension for a trendline with the specified ID number; returns a value of 0 if the operation was performed successfully, and a value of -2 if the ..."
Adds or removes a left-side extension for a trendline with the specified ID number; returns a value of 0 if the operation was performed successfully, and a value of -2 if the specified trendline ID number is invalid.
==== Usage ====
<syntaxhighlight>TL_SetExtLeft(TL_ID,LogicalExpression)</syntaxhighlight>
Where: [[TL_ID]] - a numerical expression specifying the trendline ID number
[[LogicalExpression]] - a logical value; True = Add and False = Remove
==== Notes ====
A trendline-specific ID number is returned by [[TL_New]] when the trendline is created.
==== Example ====
Add a left-side extension to the trendline with an ID number of 3:
<syntaxhighlight>Value1=TL_SetExtLeft(3,True);</syntaxhighlight>
Remove a left-side extension from the trendline with an ID number of 3:
<syntaxhighlight>Value1=TL_SetExtLeft(3,False);</syntaxhighlight>
[[Category:Trendline Drawing]]
==== Usage ====
<syntaxhighlight>TL_SetExtLeft(TL_ID,LogicalExpression)</syntaxhighlight>
Where: [[TL_ID]] - a numerical expression specifying the trendline ID number
[[LogicalExpression]] - a logical value; True = Add and False = Remove
==== Notes ====
A trendline-specific ID number is returned by [[TL_New]] when the trendline is created.
==== Example ====
Add a left-side extension to the trendline with an ID number of 3:
<syntaxhighlight>Value1=TL_SetExtLeft(3,True);</syntaxhighlight>
Remove a left-side extension from the trendline with an ID number of 3:
<syntaxhighlight>Value1=TL_SetExtLeft(3,False);</syntaxhighlight>
[[Category:Trendline Drawing]]