tibet Posted July 13, 2009 Report Share Posted July 13, 2009 I have a problem with a Gantt chart. The horizontal axis represents a date interval and in the vertical axis there are some project names. If the date interval for a project is just one day, you can only see a thin highlighted marker on the grid line, which is very ugly (see screenshot). I wanted to let a day be represented between two gridlines. To achieve this, the labels from the horizontal axis needed to be underneath the gaps and not under the grid line. How can I do this? Quote Link to comment Share on other sites More sharing options...
RandyJ Posted July 27, 2009 Report Share Posted July 27, 2009 Hi, In order for the labels to be underneath the gaps and not under the grid line they must be manually centered. This can be done through the use of the Style property of an Axis as shown in the following sample:Chart1.AxisY.Style |= AxisStyles.Centered;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.