Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent y-axis labels #1741

Closed
mbalonso opened this issue Apr 18, 2013 · 3 comments
Closed

Inconsistent y-axis labels #1741

mbalonso opened this issue Apr 18, 2013 · 3 comments

Comments

@mbalonso
Copy link

There seems to be an issue w/inconsistent labels being printed for the yaxis on chart updates. I believe the issue only happens if you have multiple yAxis.

Steps to reproduce:

Axis behaves as expected:

  1. Go to http://jsfiddle.net/malonso/4zGTk/16/
  2. Notice the y-axis range goes from 1k->5k.
  3. Click "Use Orig Data"
  4. Click "Use New Data"
  5. Notice the y-axis STILL goes from 1k->5k

Axis does not behave as expected:

  1. Go to http://jsfiddle.net/malonso/4zGTk/16/
  2. Uncomment line 22 in the JS that defines a 2nd axis which does not get used by the chart in this example.
  3. Click Run
  4. Notice the y-axis range goes from 1k->5k.
  5. Click "Use Orig Data"
  6. Click "Use New Data"
  7. Notice the y-axis NOW goes from 1k->6k
@TorsteinHonsi
Copy link
Collaborator

It looks like the max ticks aren't flushed, so the chart still thinks it has to fit the axis to 6 ticks

@mbalonso
Copy link
Author

Ahhh ok. I thought I was losing my mind. Let me know if there is anything I can do to help.

@mbalonso
Copy link
Author

I know you guys have a lot going on but I wanted to see if there is anything on the roadmap to address this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants