Senthil Posted September 11, 2007 Report Share Posted September 11, 2007 Step values are not properly applied for x Axis in my horizontal Bar. Please find the following code lines chtChart.AxisX.Max = dblFrMax; chtChart.AxisX.Min = dblFrMin; chtChart.AxisX.Step = (dblFrMax - dblFrMin) / (intMax - intMin); My values are as follows Data Values for x aixs are 65.0, 66.7, 68.4, 70.1, 71.8, 73.5 and 75.2 dblFrMax=75.2 dblFrMin=65.0 (dblFrMax - dblFrMin) / (intMax - intMin) = 1.70000004 (After Calculations) i want the Labels in my X axis to be 65.0, 66.7, 68.4.. but it is displaying 66.3 and 68.0.. What i have to do get it displayed like 65.0, 66.7.. I am using Chart Fx 2005. Please help me in this regards Regards, Senthil. Quote Link to comment Share on other sites More sharing options...
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.