HasUnifiedScales Property

Microsoft Office Web Components Visual Basic

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.