All Components
Change Theme

SASS Themes (beta)

    LESS Themes

      SASS Theme Builder

      Create new or customize SASS themes
      Launch Theme Builder

      Line Charts / Date axis

      Base date unit

      Aggregate function

       

      Custom aggregate functions are supported.

      Description

      You can scale the date axis of the Kendo UI line chart to get a better visualization of the seasonal data in your app. This can be done by modifying:

      • The base date unit of the x-axis through the categoryAxis.baseUnit attribute, which takes seconds, minutes, hours, days, week, months and years
      • The default aggregates of the series through the series.aggregate attribute, which takes max, min, sum, avg and count.

      HTML5/JavaScript source

      Also available for:

      API Reference
      • date-axis.html
      • Widget configuration

      Support & learning resources

      Line Charts for other technologies