I have a Line chart that displays two series. I have AutoLayout set to true. When the maximum values of the series is equal to the maximum label value of the Y axis, I get a flat line at the top of the chart. In theory this is fine, but the line appears cut off, so you only see half of it.
To work around this, I try to set the MaxValue on the YAxis programmatically to the maximum value of the items + 10%. So, if the highest items are 35000, I set MaxValue to 38500. In order for this to work, I also need to set AutoScale to False. However, as soon as I do that, my WebDevServer.exe hangs, and consumes all memory and CPU until it crashes. As soon as I remove the attribute, the page behaves OK, but the chart is cut off again.
You can see a repro scenario in this test project
I am not programmatically setting this attribute, but through markup:
<YAxis MaxValue="700000" > <%--AutoScale="false"--%>
If you add the AutoScale attribute to the YAxis element, the server hangs.
Is there a work around for this? How do I create some "padding" between the actual series line at the top of the PlotArea?
Thanks for looking into this.