Chart Layout Manager

When a chart draws a large data set or contains lengthy labels and titles, chart objects may overlap and obscure objects behind them. In the following example, the ordinal axis/group labels and series labels are long and overlap each other.

chart

The chart layout manager can automatically correct this problem with a single property.

chart

Additionally, Perspective includes methods that allow you to enable or disable and define how automatic chart layout is done for individual objects.

The Place property enables or disables the automatic chart layout manager. This functionality allows you to automatically setup the spacing of various elements of a chart. Prior to drawing a chart, certain Perspective methods may be set depending on what the automatic chart layout manager determines the optimum chart to be.

When setPlace (true) is used, you can use the following methods to further control automatic placement of chart elements:


WebFOCUS