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

 

GetChartLabelType

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

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

 

GetChartLabelType

 

 

Gets the type of a chart label.

 

 

 

Prototype :

 

string GetChartLabelType

(

       No Arguments

)

 

 

 

Example :

 

var ChartRootUnit = This.GetChartRootUnit();

var TopTitleLabel = ChartRootUnit.GetTopTitleLabel();

var ChartLabelType = TopTitleLabel.GetChartLabelType();

_TraceLn(ChartLabelType);

 

 

 

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.

 

 

 

See also :

 

ChartLabelTypeConst