Difference between revisions of "SetPlotWidth"

From MultiCharts
Jump to navigation Jump to search
m
 
Line 9: Line 9:
 
:'''LineWidth''' - a numerical expression specifying the plot line width; line width can range from 1 to 14.
 
:'''LineWidth''' - a numerical expression specifying the plot line width; line width can range from 1 to 14.
 
   
 
   
 +
== Notes ==
 +
* Use [[GetPlotWidth]] to get the line width for a specified plot.
 +
 
== Example ==
 
== Example ==
 
Assign a plot line width of 10 to plot1 for the duration of the current bar:  
 
Assign a plot line width of 10 to plot1 for the duration of the current bar:  

Latest revision as of 13:41, 19 February 2012

Assigns a specified line width to the specified plot for the duration of the current bar.

Usage

SetPlotWidth(PlotNumber, LineWidth)

Where:

PlotNumber - a numerical expression specifying the plot number; plot numbers range from 1 to 999.
LineWidth - a numerical expression specifying the plot line width; line width can range from 1 to 14.

Notes

  • Use GetPlotWidth to get the line width for a specified plot.

Example

Assign a plot line width of 10 to plot1 for the duration of the current bar:

SetPlotWidth(1, 10);