himpact Posted July 2, 2007 Report Share Posted July 2, 2007 Hi, I have a histogram chart using the xy line plot. The sections are working properly, but I cannot get the gridline to shift. Basically, I need the grid line to start at say 0.5, but the steps are 2. The grid line will start at 0, 2, 4,, etc instead of the intended, 0.5, 2.5, 4.5 etc. Thanks HL Quote Link to comment Share on other sites More sharing options...
Frank Posted July 3, 2007 Report Share Posted July 3, 2007 Set: chart1.AxisX.Style &= ~AxisStyles.AutoFirstLabel; chart1.AxisX.LabelsFormat.Decimals = 1;Assuming your X-Axis Min is 0.5, you will get what you need. If your X-Axis min is zero and you want the labels to start at 0.5 regardless, then do this instead: chart1.AxisX.FirstLabel = 1; chart1.AxisX.LabelValue = 0.5; Please review the documentation on these properties. Quote Link to comment Share on other sites More sharing options...
himpact Posted July 5, 2007 Author Report Share Posted July 5, 2007 I got this to work the way I want it. Thanks Frank! Quote Link to comment Share on other sites More sharing options...
Frank Posted July 5, 2007 Report Share Posted July 5, 2007 Excellent! 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.