Stacked bar series

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Arction_LasseP

juracz
Posts: 9
Joined: Thu Mar 03, 2016 12:22 pm

Stacked bar series

Post by juracz » Mon Jul 18, 2016 3:02 pm

Hi,

I have a question regarding bar charts. Does graphs support stacked and normal bar series together in one chart? What I need to do is, to have grouped "normal" bar series with stacked bar series. To be clear I attached a picture of what I'm trying to achieve. I've read the sample in LightningChart for WPF Demo Application, but I was unable to find any solution.Thanks.
Attachments
bars.png
bars.png (81.41 KiB) Viewed 7312 times

User avatar
ArctionPasi
Posts: 1366
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland

Re: Stacked bar series

Post by ArctionPasi » Mon Jul 18, 2016 3:52 pm

I believe the chart doesn't support it out-of-the-box.

One approach is to compose it with PolygonSeries. One 4-corner polygon for each bar, and calculate their locations by code.
LightningChart Support Team, PT

juracz
Posts: 9
Joined: Thu Mar 03, 2016 12:22 pm

Re: Stacked bar series

Post by juracz » Tue Jul 19, 2016 7:06 am

Thanks for the answer, I'll try it.