TOC : Script API > JavaScript > JavaScript API > Component > Multiplex > Chart > Method >

 

SetChartGridLineColors

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

TOC : Script API > JavaScript > JavaScript API > Component > Multiplex > Chart > Method >

 

SetChartGridLineColors

 

 

Sets the background colors of the Y axis grid rows.

 

 

 

Prototype :

 

void SetChartGridLineColors

(

        string ChartGridLineColors

)

 

 

 

Arguments :

 

ChartGridLineColors

Specify by hexa or decimal RGB value in the form of "#hhhhhh" or "ddd, ddd, ddd".

Multiple colors are separated by semicolon(";").

Transparent color is specified only semicolon with no RGB value.

For example, to make the second color transparent:

"#hhhhhh;;#hhhhhh" or "ddd, ddd, ddd;;ddd, ddd, ddd"

 

 

 

Example :

 

This.SetChartGridLineColors("#FF0000"); //Red

 

This.SetChartGridLineColors("255, 0, 0"); //Red

 

 

 

Available Events :

 

OnAddToPage,  OnBind,  OnEndBind,  OnInitialize,  OnStartBind