TOC : Script API > JavaScript > JavaScript API > ChartObject > ChartLabel > Method >

 

IsUseGradient

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

TOC : Script API > JavaScript > JavaScript API > ChartObject > ChartLabel > Method >

 

IsUseGradient

 

 

Indicates whether to use gradient effect.

 

 

 

Prototype :

 

bool IsUseGradient

(

       No Arguments

)

 

 

 

Example :

 

if(This.IsUseGradient() == true) {

  _TraceLn("true");

} else {

  _TraceLn("false");

}

 

 

 

Available Events :

 

OnBind, OnPostChartBuild

For the object returned by GetChartLabel function of a chart, the function can be called only in OnBind event, and for the object returned by GetLabel function of a ChartPiece, the function can be called only in OnPostChartBuild event.