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

 

GetLeftBorderDashOffset

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

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

 

GetLeftBorderDashOffset

 

 

Gets the dash offset of the left border.

 

 

 

Prototype :

 

float GetLeftBorderDashOffset

(

       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.GetLeftBorderDashOffset()) == true) {

  _TraceLn("No dash offset");

} else {

  _TraceLn(This.GetLeftBorderDashOffset());

}

 

 

 

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.