ScaleType property (Excel Graph)

Returns or sets the value axis scale type. Applies only to the value axis. Read/write XlScaleType.

Syntax

expression.ScaleType

expression Required. An expression that returns one of the objects in the Applies To list.

Remarks

A logarithmic scale uses base 10 logarithms.

Example

This example sets the value axis to use a logarithmic scale.

myChart.Axes(xlValue).ScaleType = xlScaleLogarithmic

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.