Enables the Chart Smart Scaling feature, which determines how Chart components display initially, reposition, and change during Chart resizing. Smart Scaling uses a display hierarchy or drawing order to determine what is displayed. The display hierarchy is based on the number of components and the initial size of the chart boundary. The display hierarchy for Chart sections is as follows.
Bar, Line and Area charts have this display order:
Pie charts have this display order:
Smart Scaling uses the hierarchy to determine which components are you add are incorporated or omitted.
This example shows how to enable Smart Scaling for a Chart section:
ActiveDocument.Sections["Chart"].SmartScaling = true