setBarThickness()

eSignal EFS 2

setBarThickness()

Top  Previous  Next

 

setBarThickness( thickness [, series] )

 

This function sets the line thickness for a series value that is being returned to the chart for plotting.

 

Parameters

 

thickness

integer value for line thickness

series

optional. an integer identifying the series offset

 

Usage

 

function main() {

var myVar;

 

       ...

       ...

 

       if ( myVar > 0 ) {

               setBarStyle( PS_SOLID, 0 );

               setBarThickness( 4, 0 );

       }

       else {

               setBarStyle( PS_DOT, 0 );

               setBarThickness( 2, 0 );

       }

 

       return( myVar );

 

}

 

setDefaultBarThickness()