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.

    HTML5/JavaScript source

    Also available for:

    API Reference
    • gap-spacing.html
    • Widget configuration

    Support & learning resources

    Bar Charts for other technologies