LogBase Property Example

This example causes the specified axis to use a base 2 logarithmic scale.

Set c = ChartSpace1.Constants
Set sc = ChartSpace1.Charts(0).Axes(c.chAxisPositionLeft).Scaling
sc.Type = c.chScaleTypeLogarithmic
sc.LogBase = 2