Since 2014 Q3 the ASP.NET AJAX Chart series supporting the
Stacked Series functionality are:
-
Bar
-
Column
-
Line
-
Area
-
Radar-Line
-
Radar-Area
-
Radar-Column
You can enable the Stack feature of the supported RadHtmlChart Series by
setting the Stacked property to true. This can be applied only to the first
series, the rest will automatically inherit the setting.
<
telerik:RadHtmlChart
runat
=
"server"
ID
=
"RadBarChart"
Width
=
"300px"
Height
=
"250px"
>
<
PlotArea
>
<
Series
>
<
telerik:BarSeries
DataFieldY
=
"Value1"
StackType
=
"Stack100"
>
</
telerik:BarSeries
>
<
telerik:BarSeries
DataFieldY
=
"Value2"
>
</
telerik:BarSeries
>
</
Series
>
</
PlotArea
>
</
telerik:RadHtmlChart
>
Optionally, you can change the type of the stacking by setting the StackType
property to Normal for default view or Stack100 for 100% stacked series.
In the Stacked 100% Series
demo you can examine how the charts here will look like when the Stack100 type is set.