All Components


    Bar Charts / Column chart


    The Column chart shows data as vertical bars whose heights vary according to their value. It can be useful for showing a comparison between several sets of data (e.g., snapshots of data across different points in time like the GDP growth shown in this example).

    Column charts are very similar to Bar charts, with the only difference that bars’ orientation is vertical instead of horizontal.

    You can define the chart series as horizontal via the Series -> series.Column method:

    .Series(series => series.Column(new double[] { 3.907, 7.943, 7.848, 9.284, 9.263, 9.801, 3.890, 8.238, 9.552, 6.855 }))

    ASP.NET MVC source

    Also available for:

    • column.cshtml
    • ColumnController.cs

    Support & learning resources

    Bar Charts for other technologies