setBarFgColor() |
Top Previous Next |
setBarFgColor( color [, series] )
This function sets the foreground color for a series value that is being returned to the chart for plotting.
Parameters
Usage
function main() { var myVar;
... ...
if ( myVar > 0 ) { setBarFgColor( Color.green, 0 ); } else { setBarFgColor( Color.red, 0 ); }
return( myVar );
}
|