mobilecontrols-devexpress-dot-xamarinforms-dot-charts-e210e61d.md
Stores settings that configure the logarithmic scale for a numeric axis.
Namespace : DevExpress.XamarinForms.Charts
Assembly : DevExpress.XamarinForms.Charts.dll
NuGet Package : DevExpress.XamarinForms.Charts
public class AxisLogarithmicOptions :
ChartElement
The following members return AxisLogarithmicOptions objects:
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 y-axis:
A logarithmic scale is enabled for the y-axis.
A logarithmic scale is disabled.
<dxc:ChartView>
<dxc:ChartView.Series>
<dxc:BarSeries>
<!--...-->
</dxc:BarSeries>
</dxc:ChartView.Series>
<dxc:ChartView.AxisY>
<dxc:NumericAxisY>
<dxc:NumericAxisY.LogarithmicOptions>
<dxc:AxisLogarithmicOptions Enabled="True" Base="10"/>
</dxc:NumericAxisY.LogarithmicOptions>
</dxc:NumericAxisY>
</dxc:ChartView.AxisY>
</dxc:ChartView>
Object ChartElement AxisLogarithmicOptions
See Also