Telerik Extensions for ASP.NET MVC

Sets the padding of the chart.

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 ChartPieSeriesBuilder<T> Padding(
	int padding
)
JavaScript
function Padding(padding);

Parameters

padding
Type: System..::..Int32

Examples

CopyC#
<% Html.Telerik().Chart()
           .Name("Chart")
           .Series(series => series.Pie(s => s.Sales, s => s.DateString).Padding(100))
           .Render();
%>

See Also