This problem is very strange and I'm starting to think it has to do with the control itself because I was able to hack a solution by doing the following:
At this point, I'm not totally sure what about the specific data I have is causing the problem, but I suspect it has to do with a large disparity between the shortest bar, and the longest. (Not series, but overall bar, as defined by group).
The problem seems to occur as I increase the height of the chartArea. It seems to stretch the bars out more than the chart's height grows. (as unintuitive as that sounds). The chart itself is not getting cut off. It is fitting perfectly fine inside its container; it is the bars themselves that are the problem.
I'm using the 419 build.
ChartArea chartArea = xxx; chartArea.AxisY.AutoRange = true; double min = chartArea.AxisY.ActualMinValue; double max = chartArea.AxisY.ActualMaxValue; double step = chartArea.AxisY.ActualStep; chartArea.AxisY.AutoRange = false; chartArea.AxisY.AddRange(min, max, step);The problem is that sometimes a stacked bar graph chart cuts off the top of all the bars. In my case I have it in a tile, and it displays fine when it is small, but when I scale it up, even with the same proportions, it gets cut off. The nature of my solution makes me think that it's just a bug with the auto range feature of the chart.
At this point, I'm not totally sure what about the specific data I have is causing the problem, but I suspect it has to do with a large disparity between the shortest bar, and the longest. (Not series, but overall bar, as defined by group).
The problem seems to occur as I increase the height of the chartArea. It seems to stretch the bars out more than the chart's height grows. (as unintuitive as that sounds). The chart itself is not getting cut off. It is fitting perfectly fine inside its container; it is the bars themselves that are the problem.
I'm using the 419 build.