Problem when chart stacked

1 posts, 0 answers
  1. Loïc
    Loïc avatar
    27 posts
    Member since:
    Oct 2016

    Posted 09 Aug 2017 Link to this post

    Hi everyone,

    I have a problem when I use the "Stacked" attribute of Chart. I have 2 series, and I would like to stack them horizontally.

    When the value of the first serie is greater or equal than 80, then proportion are no longer respected (see screenshots).

    On the first screenshot, the first serie has a value of 79, the second serie 21.

    On the second screenshot, the first serie has a value of 80, the second serie 20. And here is my problem.

    My chart is created in server side. Here is a part of code :

    SeriesItem itemPro = new SeriesItem(80);
    SeriesItem itemPrivacy = new SeriesItem(20);
    (chartEngine.PlotArea.Series[0] as ColumnSeries).Stacked = true;


    Any help would be appreciated.

Back to Top