zhyluo Posted February 19, 2010 Report Posted February 19, 2010 the default tick position is in the middle of a bar. how to shift the position of tick in bar chart? or shift the position of bars on report? Quote
RandyJ Posted February 19, 2010 Report Posted February 19, 2010 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 Quote
zhyluo Posted February 19, 2010 Author Report Posted February 19, 2010 RandyJ, Thank for your information. The minor ticks still do not exact match what we want. Can future patch/update provides such bar location options? Leo Quote
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.