Jump to content
Software FX Community

AxisX.Style property not taking effect


Recommended Posts

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

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...