Chart columseries Stacked

  1. #1

    Chart columseries Stacked

    Hello everyone!

    I have a stack chart with four values, and i want put the sum of those values on the top of the column bar, for example:
    if i have four different status (1,2,3,4) and the values are 1: 20, 2:12, 3:32, 4:10. I want put 74 on the top of the column bar.

    Kind Regards!
  2. #2
    Hello @adan!

    You can just make anoter "column" on the response with the chart values with the sum calculated in it. Wouldn't that be enough? Did you expect some sort of different behavior?

    Well, if you rely on this approach, you'd have more server-side and C# (strongly typed) control over what happens. If you need that by client side, there would be requirements for more javascript-specific code that could be harder to be debugged, that's why I came up with this suggestion!

    I hope it is acceptable!
    Fabrício Murta
    Developer & Support Expert
  3. #3
    Hello @Fabricio

    Know i have other column with the total, but the problem is the char increase a lot, maybe a solution can be if i can set the height for the total column. Do you know if that is possible?

    Kind Regards!
  4. #4
    Hello @adan!

    You probably want to scale it? I.e. use a different axis to show its results, so as total is much greater than other columns, you get a different scale on right corresponding to it.

    Pretty much what happens in this example: Line chart with multiple axes.

    So, does this help?
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. Replies: 2
    Last Post: Sep 01, 2015, 1:43 PM
  2. Replies: 2
    Last Post: Jul 07, 2015, 10:53 PM
  3. Replies: 5
    Last Post: Mar 11, 2014, 3:03 PM
  4. [CLOSED] MVC - Stacked Column Chart
    By immenso in forum 2.x Premium Help
    Replies: 3
    Last Post: Oct 09, 2013, 3:35 PM
  5. [CLOSED] Perhaps a bug in stacked column chart
    By feanor91 in forum 2.x Premium Help
    Replies: 11
    Last Post: Jul 23, 2012, 8:19 AM

Posting Permissions