User (Legacy) Posted March 23, 2004 Report Share Posted March 23, 2004 Hi , In my bar chart the tallest bar has a value greater then the left axis. How to set the left axis scale so that it displays the tallest bar value ? I have attached the gif of the chart. Thanks a lot Naganagouda hotfix.zip hotfix.zip Link to comment Share on other sites More sharing options...
Software FX Posted March 26, 2004 Report Share Posted March 26, 2004 The tallest bar value wasn't displayed because it was not a "round" number. You can call axisY.AdjustScale to try to round the Min and Max (in this case the Max seems to be 19.6) to a rounder number (in this case 20), however, this rounding will only be done if the difference between the two (19.6 and 20) is not too big with respect to the scale. You can also do your own rounding by setting the axisY.Max. Another option, that I would not recommend in this case as it will produce an "ugly" chart, is to set: axisY.AxisStyle |= AxisStyle.ShowEnds; -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.