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