samiam1029 Posted December 1, 2009 Report Share Posted December 1, 2009 Please look at the attached graph produced from ChartFX7 windows. I need to do 2 things. (1) As you can see, the category labels are not aligned consistently - there are some "white spaces" at the end on some labels. I need all the labels to be "right-aligned" without any white spaces. How to do this? (2) Also, is there a way to completely remove step marker "--" on the vertical axis? Thanks a lot! I appreciate any help on this. Sam Quote Link to comment Share on other sites More sharing options...
Frank Posted December 1, 2009 Report Share Posted December 1, 2009 1) Try this: chart.AxisX.Style |= AxisStyle.FixRightAligned; Also, make sure there are no trailing spaces in the strings (labels) that come from your data. The flag AxisStyle.FixRightAligned is there to work around a bug measuring strings in GDI+. It may cuase the text to looked less smooth (more jagged). 2) That one's easy: chart1.AxisX.Grids.Major.TickMark = TickMark.None; 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.