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

 

GetLegendLabelCount

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

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

 

GetLegendLabelCount

 

 

Gets the number of legend labels.

 

 

 

Prototype :

 

integer GetLegendLabelCount

(

        No Arguments

)

 

 

 

Example :

 

var ChartRootUnit = This.GetChartRootUnit();

var LegendLabelCount = ChartRootUnit.GetLegendLabelCount();

_TraceLn(LegendLabelCount);

 

 

 

Available Events :

 

OnPostChartBuild