setBarThickness()
Previous Top Next
setBarThickness( thickness [, index] )
This function sets the line thickness for a series value that is being returned to the chart for plotting.
Parameters
Usage
setDefaultBarThickness()
Previous Top Next
setBarThickness( thickness [, index] )
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 |
index |
optional. an integer identifying the return index from main() |
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()