Changes
Created page with "Assigns the specified width to a trendline with the specified ID number; returns a value of 0 if the line width was successfully assigned, and a value of -2 if the specified t..."
Assigns the specified width to a trendline with the specified ID number; returns a value of 0 if the line width was successfully assigned, and a value of -2 if the specified trendline ID number is invalid.
==== Usage ====
<syntaxhighlight>TL_SetSize(TL_ID,LineWidth)</syntaxhighlight>
Where: [[TL_ID]] - a numerical expression specifying the trendline ID number
[[LineWidth]] - a numerical expression specifying the trendline width; trendline width can range from 0 to 6
==== Notes ====
A trendline-specific ID number is returned by [[TL_New]] when the trendline is created.
==== Example ====
Assign the width of 5 to the trendline with an ID number of 3:
<syntaxhighlight>Value1=TL_SetSize(3,5);</syntaxhighlight>
[[Category:Trendline Drawing]]
==== Usage ====
<syntaxhighlight>TL_SetSize(TL_ID,LineWidth)</syntaxhighlight>
Where: [[TL_ID]] - a numerical expression specifying the trendline ID number
[[LineWidth]] - a numerical expression specifying the trendline width; trendline width can range from 0 to 6
==== Notes ====
A trendline-specific ID number is returned by [[TL_New]] when the trendline is created.
==== Example ====
Assign the width of 5 to the trendline with an ID number of 3:
<syntaxhighlight>Value1=TL_SetSize(3,5);</syntaxhighlight>
[[Category:Trendline Drawing]]