<ig:XamFinancialChart x:Name="chart"
YAxisIsLogarithmic="True"
YAxisLogarithmBase="4">
</ig:XamFinancialChart>
The XamFinancialChart control allows you to choose if the data in your charts is mapped logarithmically along the y-axis.
This topic contains the following sections:
In the XamFinancialChart control, you can modify the logarithmic display behavior of the y-axis with these properties:
The following code example shows how to set the YAxisIsLogarithmic and YAxisLogarithmBase properties:
In XAML:
<ig:XamFinancialChart x:Name="chart"
YAxisIsLogarithmic="True"
YAxisLogarithmBase="4">
</ig:XamFinancialChart>
In C#:
var chart = new XamFinancialChart();
chart.YAxisIsLogarithmic = true;
chart.YAxisLogarithmBase = 4;
In Visual Basic:
Dim chart = New XamFinancialChart()
chart.YAxisIsLogarithmic = True
chart.YAxisLogarithmBase = 4