<< Click to Display Table of Contents >> Navigation: »No topics above this level« TOC : Script API > JavaScript > JavaScript API > Component > Multiplex > Chart > Method >GetChartLabel |
Gets the chart label of the given type.
Prototype :
object GetChartLabel
(
string ChartLabelType
)
Arguments :
ChartLabelType |
refer to ChartLabelTypeConst |
Example :
//use string - get x axis label and change the font color of the x axis label.
var objXAxisLabel = This.GetChartLabel("XAxisLabel");
objXAxisLabel.SetTextColor("255, 0, 0");;
//use constant - get x axis label and change the font color of the x axis label.
var objXAxisLabel = This.GetChartLabel(ChartLabelTypeConst.XAxisLabel);
objXAxisLabel.SetShowBorder("255, 0, 0");;
Available Events :
OnBind, OnInitialize, OnStartBind
See also :