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

 

GetBottomBorderDashOffset

<< Click to Display Table of Contents >>

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

 

GetBottomBorderDashOffset

 

 

Gets the dash offset of the bottom border.

 

 

 

Prototype :

 

float GetBottomBorderDashOffset

(

       No Arguments

)

 

 

 

Reference :

 

The function returns non-numeric value if dash offset is not defined. Hence, use a Java Script function, isNaN, to know if dash offset is defined.

 

 

 

Example :

 

if(isNaN(This.GetBottomBorderDashOffset()) == true) {

  _TraceLn("No dash offset");

} else {

  _TraceLn(This.GetBottomBorderDashOffset());

}

 

 

 

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.