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

[BUG] 2.7.3 hides/clips part of chart #6094

Closed
rheupler opened this issue Feb 26, 2019 · 1 comment
Closed

[BUG] 2.7.3 hides/clips part of chart #6094

rheupler opened this issue Feb 26, 2019 · 1 comment

Comments

@rheupler
Copy link

This is related to #4790 that has since been closed, but is happening again in 2.7.2 - 2.7.3. In some cases, the max point will get cut off on the top of the chart.

Expected Behavior

screen shot 2019-02-26 at 2 55 36 pm

Current Behavior

screen shot 2019-02-26 at 2 53 45 pm

In 2.7.1, I can fix this by setting the lineHeight on the title to 1 instead of the default 1.2. This doesn't work in any higher versions.

Possible Solution

Not sure what a solution would be for this, but in 2.7.1 I can get it to work by setting a lineHeight on the title (bandaid solution)

Steps to Reproduce (for bugs)

This reproduction can be difficult since it's only happening on some screen sizes. I'm plotting values at the max. The screen width of the above screenshot was at 467px.

Environment

  • Chart.js version: 2.7.3
  • Browser: Chrome: 71.0.3578.98
@kurkle
Copy link
Member

kurkle commented Feb 28, 2019

This was fixed by #5790 and will be out in upcoming 2.8 release.

@kurkle kurkle closed this as completed Feb 28, 2019
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