TOC : Script API > JavaScript > JavaScript API > Component > Multiplex > GanttChart > GanttChartValue > Method >

 

SetResultBarBackgroundColor

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

TOC : Script API > JavaScript > JavaScript API > Component > Multiplex > GanttChart > GanttChartValue > Method >

 

SetResultBarBackgroundColor

 

 

Sets the background color of the result bar.

 

 

 

Prototype :

 

void SetResultBarBackgroundColor

(

        string ResultBarBackgroundColor

)

 

 

 

Arguments :

 

ResultBarBackgroundColor

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

 

 

 

Example :

 

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

 

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

 

 

 

Available Events :

 

OnBind,  OnInitialize,  OnStartBind