setChartBG()
Previous Top Next
setChartBG( color )
This function sets the background color for the entire chart.
Parameters
color |
the color to use |
Usage
function main() {
var myVar;
...
...
if ( myVar > 0 ) {
setChartBG( Color.green );
}
else {
setChartBG( Color.red );
}
return( myVar );
}