Jbassking Posted July 31, 2008 Report Share Posted July 31, 2008 We have a custom format of ##.##% set for the Y-Axis. This displays correctly (sort of but there is no 0%). When we set the LogBase we no longer get the formatted values. Instead we end up with many 0's, a couple of 1's and a 2. Chart with percent format on Y-Axis without LogBase LogBase = 2 set on Y-Axis with same percent format set ##.##% Any ideas? Thanks, Joe Quote Link to comment Share on other sites More sharing options...
Jbassking Posted August 11, 2008 Author Report Share Posted August 11, 2008 No one has any idea on this issue? Quote Link to comment Share on other sites More sharing options...
raydenxxx Posted August 28, 2008 Report Share Posted August 28, 2008 Hello, have you set the minimum of the axis to 0? If not try this AxisY YourAxis= new AxisY(); YourAxis.Min = 0; YourAxis.LabelsFormat.Format = AxisFormat.Percentage; ByeRaydenxxx (France) Quote Link to comment Share on other sites More sharing options...
Frank Posted August 28, 2008 Report Share Posted August 28, 2008 Add this code: chart1.AxisY.LabelsFormat.Decimals = 4; // 2 you want to display, + 2 for the percentage (percentages are multiplied by 100). 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.