Plotter background grid problem

Sep 2, 2010 at 3:30 PM
Edited Sep 2, 2010 at 4:51 PM

Hi,

I have a ChartPlotter with 2 line graphs inside a user control. This user control stretches both vertically and horizontally. When the plotter first draws, everything is OK, but when I maximize the window and the user control expands...the background grid in the ChartPlotter does not resizes properly, leaving a blank space on the right side of the plotter (the line graphs expand and so does the axis, but not the background).

 

EDIT: Just in case I should say, I'm creating everything but the plotter and the axis labels dynamically.

EDIT2: I have also just noticed that the background grid (which I believe is ChartPlotter.CentralGrid) is not resizing along with the rest of the plotter, so it doesn't keeps up with the change in the axis ticks.