New to Telerik UI for ASP.NET Core?Download free 30-day trial

ASP.NET Core Line Charts Logarithmic Axis

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
  • Edit in Telerik REPL
HtmlHelper
TagHelper
Files:
logarithmic_axis.cshtml
Logarithmic_AxisController.cs
ElectricityProduction.cs
Logarithmic_Axis_TagHelper.cshtml

Also available for:

CLIENT-SIDE API SERVER-SIDE API

Description

A logarithmic axis is a special numeric axis that transforms the actual values by using a logarithmic function with a particular base. A logarithmic axis is useful for displaying values that cover different orders of magnitude because it lets large values display together with small values in a more condensed scale than the default linear axis.

This demo shows how you can use a logarithmic axis for theTelerik UI for ASP.NET Core Line Chartby setting the ValueAxis -> Logarithmic() method. The base of the logarithmic axis is defined by the interval between the major divisions, controlled by the MajorUnit property.

Additional Apps

This Line Charts example is part of unique collection of hundreds of ASP.NET Core demos, with which you can see allTelerik ASP.NET Core componentsand their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance inTelerik REPL for ASP.NET CoreorThemeBuilder.

Support & Learning Resources

Additional Resources