setDefaultChartBG()

eSignal EFS 2

setDefaultChartBG()

Top  Previous  Next

 

setDefaultChartBG( color  )

 

This function sets the default background color for the entire chart. Generally called from within the preMain() function.

 

Parameters

 

color

the color to use

 

Usage

 

function preMain() {

 

       setPriceStudy(true);

       setStudyTitle("Example Script");

       setCursorLabelName("EMA", 0);

       setDefaultBarFgColor( Color.blue, 0 );

       setDefaultBarThickness( 2, 0 );

 

       setDefaultChartBG( Color.white );

 

       setShowTitleParameters( false );

 

}

 

setChartBG()