sudidela Posted May 11, 2009 Report Share Posted May 11, 2009 After zooming the chart, we are capturing max and min values of Y axis of chart. These max and min values are used for chart.AxisY.SetScrollView(min,max); After this, if we check the Y axis step, the step is coming as negative value. Can the Axis(Y or X axis) step can be a negative value? Thanks... Quote Link to comment Share on other sites More sharing options...
rocioZ Posted May 19, 2009 Report Share Posted May 19, 2009 You can set the Min, Max and Step properties of AxisX for the chart based on the data you are passing. For instance, I set the AxisX properties as: Chart1.AxisX.Max = 5; Chart1.AxisX.Min = -5; (negative value) Chart1.AxisX.Step = 1; You can set the AxisX properties appropriately based on the data you are passing. The value of the Step Property must be greater than the value of the MinorStep property. Please note the values for the Step and MinorStep properties are data related. Quote Link to comment Share on other sites More sharing options...
sudidela Posted May 29, 2009 Author Report Share Posted May 29, 2009 Thank you rocioZ.... Is it the same for Y-axis as well.? I mean is it that Step value should be greater than Minor step value for Y -axis as well? 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.