Jump to content
Software FX Community

how to display the axis tick at the beginning/end of bar?


Recommended Posts

Posted

Hi,

I am afraid that is not possible. This is by design. You are not able to modify the position of the tick mark so that it appears at the beginning/end of a bar. On the other hand, you are indeed able to specify the increment you want between minor tick marks and minor gridlines (if they are displayed) on the selected axis by using the MinorStep property as follows:

chart1.AxisY.MinorStep = 2;

For example, if the selected axis ranges from 0-100 and you have specified a Step value of 10, labels and gridlines will appear at 10, 20, 30, etc. If you would like to have 5 minor tick marks in each major interval, you can set the MinorStep to 2.

You can also set the tickmark to be located inside or outside the Axis, but you cannot make it appear at the beginning/end of a bar.

chart1.AxisX.Grids.Minor.TickMark = ChartFX.WinForms.TickMark.Outside;

Regards,

RandyJ

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