rpiller Posted March 20, 2009 Report Share Posted March 20, 2009 On the toolbar if you select Axes Settings, under X Axis there is a Show Labels check mark. How can I uncheck that via code? I've messed around with some visible settings but that hasn't seem to work. It's still checked.I also have it unchecked in the designer but I apply a custom format via code for the X Axis and that seems to check it automatically. Quote Link to comment Share on other sites More sharing options...
RandyJ Posted April 30, 2009 Report Share Posted April 30, 2009 Hi,You need to use the style property as follows: Chart1.AxisX.Style = Chart1.AxisX.Style | AxisStyles.HideText;Regards,RandyJ 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.