New to Telerik UI for ASP.NET MVC? Download free 30-day trial

Telerik UI for ASP.NET MVC Bar Charts Gap and Spacing

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
gap_spacing.cshtml
Gap_SpacingController.cs

Also available for:

CLIENT-SIDE API SERVER-SIDE API

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.

This Bar Charts example is part of unique collection of hundreds of ASP.NET MVC demos, with which you can see all Telerik ASP.NET MVC components and their features in action. View the source code of the demos from the library or directly adapt andedit their theme appearance in their theme appearance in the ThemeBuilder.

Support & Learning Resources

Additional Resources