Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Axis.LogarithmicBase Property

Gets or sets a value specifying a logarithmic base when the Axis.Logarithmic property is enabled.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v24.2.dll

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public double LogarithmicBase { get; set; }

#Property Value

Type Description
Double

A Double value which is the logarithmic base.

#Remarks

If a chart’s series have their Series.ArgumentScaleType or Series.ValueScaleType properties set to ScaleType.Numerical, you can use the Axis.Logarithmic property to specify whether the logarithmic scale should be used to display axis values. When it is set to true, it is possible to define a logarithmic base value via the LogarithmicBase property.

Via the LogarithmicBase property, you can define a base value as a logarithm, which will be used to calculate the axis values.

The following images demonstrate how the LogarithmicBase property works.

LogarithmicBase = 10 LogarithmicBase = 20
Logarithmic_scale_10 Logarithmic_scale_20
See Also