dezvoltator Posted October 4, 2007 Report Share Posted October 4, 2007 Hi!!! I am a web developer. I am using ChartFX 6.2. I have a problem with scale for Y Axis. For Gant chart that have positive and negative, positive values for Y Axis are doubled. For example in debug mode after chart.AxisY.AdjustScale() I saw that max for AxisY in my chart is chart.AxisY.Max = 380000.0 but when the page is displayed chart shows 760000.0. It is very strange because when I added two line of code I got the expected results. The line of code are: double valueY = chart.AxisY.Max; chart.AxisY.Max = valueY + 1 - 1; Could anyone give me a sugestion? What happened? Thanks! Quote Link to comment Share on other sites More sharing options...
Frank Posted October 24, 2007 Report Share Posted October 24, 2007 The value is being adjusted later on, by assigning the Max you are turning off AutoScale hence preventing the Max from being changed again. I would need to see the code that reproduces this situation in order to point out where the change to the Max is occurring. 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.