Skip to main content

LinearScale.LogarithmicBase Property

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

Namespace: DevExpress.XtraGauges.Core.Model

Assembly: DevExpress.XtraGauges.v24.1.Core.dll

NuGet Package: DevExpress.Gauges.Core

Declaration

[XtraSerializableProperty]
public LogarithmicBase LogarithmicBase { get; set; }

Property Value

Type Description
LogarithmicBase

A LogarithmicBase enumeration value which specifies the logarithmic base.

Available values:

Name Description
Binary

The base is equal to 2.

Decimal

The base is equal to 10.

Exponential

The base is equal to e_ (approximately, 2.7182).

Custom

The base is specified by the ArcScale.CustomLogarithmicBase (or LinearScale.CustomLogarithmicBase) property.

Remarks

When the LinearScale.Logarithmic property is set to true, use the LogarithmicBase property to specify the logarithm base. Note that if you require a custom logarithm base, you should set the LogarithmicBase property to LogarithmicBase.Custom and assign the required value to the LinearScale.CustomLogarithmicBase property.

See Also