Profile Picture

Stacked bar charts and chart grid control

Posted By Stephen Vilim 9 Years Ago
Author
Message
Stephen Vilim
Question Posted 9 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: 9 Years Ago
Posts: 4, Visits: 8
I'm used a chart grid control with a bunch of stacked bar charts series.  However the problem is that I want the chart grid control to view one whole column of the stacked bars as its own series.  Instead it is taking one slice from each of the stacked bars and making that the series (which is technically correct).  Is there anyway to make it do this?

For example:

X X X X
Y Y Y Y
Z Z Z Z

Right now it is taking ZZZZ and YYYY and XXXX and viewing them as a series and displaying the data like that.  Is there a way to force it to take XYZ XYZ XYZ XYZ and make four series like that?

Nevron Support
Posted 9 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009
Hi Stephen,

There is no such option however you can easily emulate it - to do this you need to do the following:

1. Calculate the maximum number of stacked bar for all columns.
2. Create that many series.
3. Feed data to each column and fill the remaining series in that column with empty values (double.NaN).

Hope this helps - let us know if you meet any problems or have any questions.



Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic