Back to Devexpress

LinearScale.LogarithmicBase Property

corelibraries-devexpress-dot-xtragauges-dot-core-dot-model-dot-linearscale-a5b350e7.md

latest2.6 KB
Original Source

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.v25.2.Core.dll

NuGet Package : DevExpress.Gauges.Core

Declaration

csharp
[DefaultValue(LogarithmicBase.Binary)]
public LogarithmicBase LogarithmicBase { get; set; }
vb
<DefaultValue(LogarithmicBase.Binary)>
Public Property LogarithmicBase As LogarithmicBase

Property Value

TypeDefaultDescription
LogarithmicBaseBinary

A LogarithmicBase enumeration value which specifies the logarithmic base.

|

Available values:

NameDescription
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

LinearScale Class

LinearScale Members

DevExpress.XtraGauges.Core.Model Namespace