All Components
Theme

Themes

    Bar Charts / Gap and spacing

    Gap

    Spacing

    Description

    The Bar chart component allows you to control the distance between its categories as well as between series points within a category. This can be done through the series.gap and series.spacing client-side settings of the chart.

    In this demo, you can play with the provided GAP and SPACING dropdowns to change the values of the above properties.

    ASP.NET MVC source

    Also available for:

    • gap_spacing.cshtml
    • Gap_SpacingController.cs

    Support & learning resources

    Bar Charts for other technologies