jhopper28 Posted February 15, 2011 Report Share Posted February 15, 2011 When I modify the AxisX.Style property in code as follows, the property values do not take effect (as inspected in the Visual Studio 2010 debugger and as seen in the resulting chart): Chart1.AxisX.Style = Chart1.AxisX.Style And Not AxisStyles.AutoCenter Chart1.AxisX.Style = Chart1.AxisX.Style And Not AxisStyles.AutoFirstLabel If I go to the Visual Studio debugger immediate window and type in those same commands, the property values DO change, and when I continue running, the chart appears as I need it to. My client Quote Link to comment Share on other sites More sharing options...
jhopper28 Posted February 15, 2011 Author Report Share Posted February 15, 2011 Update: I happened to reload my Visual Studio IDE and this problem went away. The solution to my original problem (labels off by one month) IS indeed solved by turning off AutoCenter and AutoFirstLabel styles. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.