Axis.LogarithmBase Property

.NET Framework (current version)

Gets or sets a value for the logarithm base for the logarithmic axis.

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public double LogarithmBase { get; set; }

Property Value

Type: System.Double

A double value that represents the logarithm base value for the logarithmic axis. The default value is base 10.

This property only has an effect when the IsLogarithmic property is set to true.

Note that this property is only applicable to value axes, which are used to plot data. Setting this property for a categorical axis will result in an exception being thrown.

.NET Framework
Available since 4.0
Return to top