TOC : Script API > JavaScript > JavaScript API > Component > Multiplex > Chart > Method >

 

SetPieXYRatioPercent

<< Click to Display Table of Contents >>

TOC : Script API > JavaScript > JavaScript API > Component > Multiplex > Chart > Method >

 

SetPieXYRatioPercent

 

 

Sets the X-Y ratio of the pie.

 

 

 

Prototype :

 

void SetPieXYRatioPercent

(

        integer PieXYRatioPercent

)

 

 

 

Arguments :

 

PieXYRatioPercent

X-Y ratio of the pie

 

 

 

Reference :

 

100 for circle, 200 for aspect ratio of 2:1 and 50 for aspect ratio of 1:2. The ratio value must be a positive integer and  value range of 10 ~ 1000 is recommended.

 

 

 

Example :

 

This.SetPieXYRatioPercent(100);

 

 

 

Available Events :

 

OnAddToPage,  OnBind,  OnEndBind,  OnInitialize,  OnStartBind