property ChartView.Layout as ChartLayoutEnum
Specifies the way the chart displays the diagram.

TypeDescription
ChartLayoutEnum A ChartLayoutEnum expression that indicates whether the nodes are arranged from Top to Bottom ( TTB) or Left to Right (LTR ).
By default, the Layout property is exLayoutTTB. Use the Layout property to arrange the nodes from left to right. If the Layout property is exLayoutTTB ( by default ), the parent nodes go from the top to bottom, the child nodes go from left to right. If Layout property is exLayoutLTR, the parent nodes go from the left to right, the child nodes go from top to bottom.

The indent properties work differently based on the Layout property as follows:

The following screen shot shows the nodes arrangement when the Layout property is exLayoutLTR:

iasmina (2 years), briana (4 years ) and me

The following screen shot shows the nodes arrangement when the Layout property is exLayoutTTB ( by default ):

iasmina (2 years), briana (4 years ) and me