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

 

SetLegendRect_BackColor

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

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

 

SetLegendRect_BackColor

 

 

Sets the background color of the legend box.

 

 

 

Prototype :

 

void SetLegendRect_BackColor

(

        string LegendRect_BackColor

)

 

 

 

Arguments :

 

LegendRect_BackColor

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

 

 

 

Example :

 

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

 

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

 

 

 

Available Events :

OnAddToPage,  OnBind,  OnEndBind,  OnInitialize,  OnStartBind