All Components


    SASS Theme Builder

    Create new or customize SASS themes
    Launch Theme Builder

    Line Charts / Logarithmic axis


    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 ASP.NET MVC 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.

    ASP.NET MVC source

    Also available for:

    • logarithmic_axis.cshtml
    • Logarithmic_AxisController.cs

    Support & learning resources

    Line Charts for other technologies