Jump to content
Software FX Community

Axis label between Gridmarks


tibet

Recommended Posts

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?

Link to comment
Share on other sites

  • 2 weeks later...

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
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.

Guest
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...