Is the combination Stacked Area Series on TimeXAxis not supported, and if not, why not? Area Series in supported on TimeXAxis. The page at https://ko.infragistics.com/help/winforms/datachart-series-requirements doesn't appear to include StackedAreaSeries.
Secondly, when stacking two series, and one value is negative, why doesn't the total include the negative value? This seems like a bug to me. E.g.
public AccountValueHistory() { this.Add(new AccountDateInfo { date = new DateTime(2023, 1, 1), Acct1 = 0, Acct2 = 30 }); this.Add(new AccountDateInfo { date = new DateTime(2023, 2, 16), Acct1 = -50, Acct2 = 30}); this.Add(new AccountDateInfo { date = new DateTime(2023, 2, 25), Acct1 = 50, Acct2 = 60 }); this.Add(new AccountDateInfo { date = new DateTime(2023, 2, 25), Acct1 = 70, Acct2 = 60 }); }
produces:
The second date should be -20, not 30.
Hello Campbell,
I have been investigating into the behavior you are seeing, and I have some information for you on this matter.
It appears that there may have been an oversight that the stacked series were left out of the table that you linked in our documentation. I can confirm that the stacked series ca be used with a TimeXAxis with the exception of the StackedBarSeries as there is no TimeYAxis.
Regarding the behavior you are seeing with negative value stacking, I have been discussing this behavior with my teammates and this behavior is expected and by design. The negative numbers will stack negatively, and the positive numbers will stack positively, using zero as the “reference point.”
Please let me know if you have any other questions or concerns on this matter.
Hi Andrew. Thanks for getting back to me.
Could you please take a look at the attached sample file. It works fine for me if I use a CategoryXAxis, but when I change this to a TimeXAxis, the UI hangs. I'm not sure what I'm doing wrong.
Regarding the summation, I'd have thought in almost all cases users would want to sum positive and negative values together. At the very least I think this should be an option. Could you put this forward as a feature request please? For example, if the graph shows the sum of two bank accounts, and one account is overdrawn and has -50 in it, and the other account has 30, your net worth at that time is -20. It just doesn't make sense to display this as 30.Thanks,Campbell
I can't seem to insert a zip, so here's a link: drive.google.com/.../view