Unable to set Graph Width

Kowalski

Registered User.
Local time
Today, 20:12
Joined
Jul 5, 2007
Messages
121
Hi
I have a graph object on a form. When the form is resized, I set the chart properties in code to make the graph and the PlotArea wider to fit the form.

However, at some point the Graph object and the PlotArea goes wider, but the ChartArea stays the same. See screenshots below.

If I try to set the ChartArea I get the error that I'm "Unable to Set the Width Property of the ChartArea Class"

Screenshot 1: Chart on normal form: https://dl.dropbox.com/u/18634911/GraphNarrow.PNG
Screenshot 2: Chart on wide form (note the white space on right hand side): https://dl.dropbox.com/u/18634911/GraphWide.PNG

Any solution?
 

Users who are viewing this thread

Back
Top Bottom