Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
How to change the last value of a waterfall chart to be total instead of incremental change?
posted

Hi there,

I was trying to show a waterfall chart in WPF UI and realized that the last value is not the total that I want.

Example:

For a list of number, 10,2,1,3, I want a waterfall chart to show 4 bars: 0-10, 10-12, 12-13, 0-16. But what I observed is that the waterfall chart will show bars:0-10, 10-12,12-13,13-16. The last value will still be the increment instead of total.

Is there any property I can use to change the setting? Thanks a lot!

  • 25665
    Offline posted

    Hello Tun,

    Thank you for contacting Infragistics Developer Support!

    We received your support request concerning final element of the Waterfall chart, and this case has been assigned to me. I have done an initial review of your case and what you are seeing is the expected behavior. If you want to show the total you will want to have a second series that has the total value. To get it to display in the position you want you can have values before the total be not a number so they do not plot, and then the final value in your list of data for the second series would be your total value.

    Please let me know if you have any further questions concerning this matter.