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