Telerik Extensions for ASP.NET MVC

Set distance between category clusters. A value of 1 means that there is a total of 1 column width / bar height between categories. The distance is distributed evenly on each side. The default value is 1.5

Namespace: Telerik.Web.Mvc.UI.Fluent
Assembly: Telerik.Web.Mvc (in Telerik.Web.Mvc.dll) Version: 2012.2.611.235 (2012.2.611.235)

Syntax

C#
public ChartBarSeriesBuilder<T> Gap(
	double gap
)
JavaScript
function Gap(gap);

Parameters

gap
Type: System..::..Double

Examples

CopyC#
<%= Html.Telerik().Chart(Model)
    .Name("Chart")
    .Series(series => series.Bar(s => s.Sales).Gap(1))
%>

See Also