Telerik Extensions for ASP.NET MVC

Sets the pie segments border

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> Border(
	int width,
	string color,
	ChartDashType dashType
)
JavaScript
function Border(width, color, dashType);

Parameters

width
Type: System..::..Int32
The pie segments border width.
color
Type: System..::..String
The pie segments border color (CSS syntax).
dashType
Type: Telerik.Web.Mvc.UI..::..ChartDashType
The pie segments border dash type.

Examples

CopyC#
<% Html.Telerik().Chart()
          .Name("Chart")
          .Series(series => series.Pie(s => s.Sales, s => s.DateString).Border(1, "#000", ChartDashType.Dot))
          .Render();
%>

See Also