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 HTML HELPER 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 the Telerik UI for ASP.NET Core Line Chart by 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 all Telerik ASP.NET Core components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for ASP.NET Core or ThemeBuilder.

Support & Learning Resources

Additional Resources