HasUnifiedScales Property

Microsoft Office Web Components Object Model

HasUnifiedScales Property

       

True if all charts in the specified chart control use the same scaling for their axes. The default value is False. Read/write Boolean.

expression.HasUnifiedScales

expression   Required. An expression that returns a ChartSpace object.

Remarks

This property will return a run-time error when the chart control contains multiple charts with incompatible axes. For example, an error will be returned when the chart control contains an XY (Scatter) chart and a Column chart. This property cannot be set because a Column chart contains a category axis, and the XY (Scatter) chart does not.

When you use the Add method to add a new chart to the chart control after setting this property to True, the new chart's axes are not automatically unified with the existing charts. You must set this property to False and then back to True to unify the new chart's axes with the existing charts.