We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to create separate columns' StackedGroup in stacking series?

Description

Stacking series can be rendered like a pile of coins that are stacked. SfChart allows you to group the stacking series and render it accordingly. This article describes how the stacking series can be grouped together.

Solution

The GroupingLabel property in stacking series is used to achieve this scenario. Giving same name to the GroupingLabel makes a single group into multiple stacking series. In the following example, four StackingColumnSeries are used to the stacking group and splitting it into two separate groups by setting the GroupingLabel as Group1 and Group2. After setting this property, four series can be stacked together into two columns by label.

 XAML

 

Output

The following screenshot illustrates grouping of stacking series.

Figure 1: Stacking series grouped together based on their labels.

 

 

Article ID: Published Date: Last Revised Date: Platform: Control: .NET Framework:
6483 03/07/2016 03/07/2018 UWP SfChart 4.5
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.