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

 

GetYLeftAxisLabel

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

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

 

GetYLeftAxisLabel

 

 

Gets the left Y-axis label by index.

 

 

 

Prototype :

 

object GetYLeftAxisLabel

(

        integer YLeftAxisLabelIndex

)

 

 

 

Arguments :

 

YLeftAxisLabelIndex

index of left Y-axis label

 

 

 

Example :

 

var ChartRootUnit = This.GetChartRootUnit();

var YLeftAxisLabelCount = ChartRootUnit.GetYLeftAxisLabelCount();

for(i = 0; i < YLeftAxisLabelCount; i++) {

  var YLeftAxisLabel = ChartRootUnit.GetYLeftAxisLabel(i);

  _TraceLn(YLeftAxisLabel.GetNodeName());

}

 

 

 

Available Events :

 

OnPostChartBuild