NativeScript Angular

RadChart LogarithmicAxis

RadCartesianChart needs an axis that can represent the values of the data points. The LogarithmicAxis is used to display values that cover several orders of magnitude in a more manageable way. This is a special NumericalAxis that transforms the actual values of the data points using 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.


You can easily modify the base of the logarithmic function used to calculate the value by using the logarithmBase property. You can also specify the exponent step between the axis ticks with the exponentStep property.