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

 

SetPlanBarBackgroundColor

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

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

 

SetPlanBarBackgroundColor

 

 

Sets the background color of the plan bar.

 

 

 

Prototype :

 

void SetPlanBarBackgroundColor

(

        string PlanBarBackgroundColor

)

 

 

 

Arguments :

 

PlanBarBackgroundColor

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

 

 

 

Example :

 

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

 

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

 

 

 

Available Events :

 

OnBind,  OnInitialize,  OnStartBind