Jump to content
Software FX Community

Scale problem. AxisY's positive values are doubled.


Recommended Posts


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?


Link to comment
Share on other sites

  • 3 weeks later...

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...