maui-devexpress-dot-maui-dot-charts-dot-axislogarithmicoptions.md
Gets or sets the base of the logarithm. This is a bindable property.
Namespace : DevExpress.Maui.Charts
Assembly : DevExpress.Maui.Charts.dll
NuGet Package : DevExpress.Maui.Charts
public double Base { get; set; }
| Type | Default | Description |
|---|---|---|
| Double | 10 |
The base of the logarithm.
|
You can access this nested property as listed below:
| Object Type | Path to Base |
|---|---|
| NumericAxisX |
.LogarithmicOptions .Base
| | NumericAxisY |
.LogarithmicOptions .Base
|
To enable and configure the logarithmic scale for a numeric axis, set the NumericAxisX.LogarithmicOptions or NumericAxisY.LogarithmicOptions property to an AxisLogarithmicOptions object with the specified settings:
This example shows how to enable the logarithmic view for a numeric x-axis:
A logarithmic scale is enabled for the x-axis.
A logarithmic scale is disabled.
<dxc:ChartView>
<dxc:ChartView.Series>
<dxc:PointSeries>
<!--...-->
</dxc:PointSeries>
</dxc:ChartView.Series>
<dxc:ChartView.AxisX>
<dxc:NumericAxisX>
<dxc:NumericAxisX.LogarithmicOptions>
<dxc:AxisLogarithmicOptions Enabled="True" Base="10"/>
</dxc:NumericAxisX.LogarithmicOptions>
</dxc:NumericAxisX>
</dxc:ChartView.AxisX>
</dxc:ChartView>
See Also