When all the PointPairList contain the same X Values everything is fine. But when one PointPair is missing (commented line) the graph is not correct. For this example the Point (5,3) from PPListC is not displayed.
When removing the Point (5,1) from PPListA the Points (5,2) from ListB and (5,3) from ListC is not displayed.
When changing from
.BarSettings.Type = BarType.Stack
to
.BarSettings.Type = BarType.Cluster
everything is fine, But thats not what I need.
Maybe somobody could help?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello Experts,
I try to use stacked bars with Zedgraph and having some trouble when some datapoint are missing. Here my code:
When all the PointPairList contain the same X Values everything is fine. But when one PointPair is missing (commented line) the graph is not correct. For this example the Point (5,3) from PPListC is not displayed.
When removing the Point (5,1) from PPListA the Points (5,2) from ListB and (5,3) from ListC is not displayed.
When changing from
.BarSettings.Type = BarType.Stack
to
.BarSettings.Type = BarType.Cluster
everything is fine, But thats not what I need.
Maybe somobody could help?