<< Click to Display Table of Contents >> Navigation: »No topics above this level« TOC : Script API > JavaScript > JavaScript API > ChartObject > ChartRootUnit > Method >GetShape |
Gets ChartShape object by the given Index.
Prototype :
object GetShape
(
integer ShapeIndex
)
Arguments :
ShapeIndex |
index of ChartShape |
Example :
var ChartRootUnit = This.GetChartRootUnit();
var ChartShapeCnt = ChartRootUnit.GetShapeCount();
for(i = 0; i < ChartShapeCnt; i++) {
var ChartShape = ChartRootUnit.GetShape(i);
_TraceLn(ChartShape.GetType());
}
Available Events :
OnPostChartBuild