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

 

GetLegendTitleLabel

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

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

 

GetLegendTitleLabel

 

 

Gets the legend title label.

 

 

 

Prototype :

 

object GetLegendTitleLabel

(

        No Arguments

)

 

 

 

Example :

 

var ChartRootUnit = This.GetChartRootUnit();

var LegendTitleLabel = ChartRootUnit.GetLegendTitleLabel();

if(LegendTitleLabel != null) {

  LegendTitleLabel.SetTextColor("255,0,0");

}

 

 

 

Available Events :

 

OnPostChartBuild