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

 

SetFontStretch

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

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

 

SetFontStretch

 

 

Sets the font scale.

 

 

 

Prototype :

 

void SetFontStretch

(

        integer FontStretch

)

 

 

 

Arguments :

 

FontStretch

font scale

 

 

 

Reference :

 

Font scale should be in range of 1 to 600. If set to an out of range value, script does not work.

 

 

 

Example :

 

This.SetFontStretch(500);

 

 

 

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.