New to Telerik UI for WinUI? Download free 30-day trial

Logarithmic Axis

The logarithmic axis is used to display values that cover several orders of magnitude in a more manageable way. This is a special numerical axis that transforms the actual values of the data points using a logarithm function with a specific base. For example, if the base of the logarithm is 10, then the axis will be scaled to show equally spaced powers of 10. The Richter scale and the Decibel scale are examples of logarithmic scale.

Properties

LogarithmicAxis class inherits from the NumericalAxis class - See the inherited properties.

  • LogarithmBase (double): Gets or sets the base of the logarithm used for normalizing data points' values.
  • ExponentStep (double): Gets or sets the exponent step between each axis tick. By default the axis itself will calculate the exponent step, depending on the plotted data points.

Example 1: Defining a LogarithmicAxis

<telerik:RadCartesianChart> 
    <telerik:RadCartesianChart.VerticalAxis> 
        <telerik:LogarithmicAxis LogarithmBase="2"/> 
    </telerik:RadCartesianChart.VerticalAxis> 
    <!-- other chart setup goes here --> 
</telerik:RadCartesianChart> 
In this article
Not finding the help you need?