Telerik Extensions for ASP.NET MVC

Sets a value indicating if the areas should be stacked.

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 ChartAreaSeriesBuilder<T> Stack(
	bool stacked
)
JavaScript
function Stack(stacked);

Parameters

stacked
Type: System..::..Boolean
A value indicating if the areas should be stacked.

Examples

CopyC#
 <%= Html.Telerik().Chart(Model)
            .Name("Chart")
            .Series(series => series.Area(s => s.Sales).Stack(true))
%>

See Also