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

ChartJs Display above Canvas #5493

Closed
5-digits opened this issue May 17, 2018 · 7 comments
Closed

ChartJs Display above Canvas #5493

5-digits opened this issue May 17, 2018 · 7 comments

Comments

@5-digits
Copy link

Everytime time when rendering the chart in my html page
i get the chart looks like that, it was hidden
data-chart

@SimonLoir
Copy link

@5-digits Could you please build a jsfiddle that reproduces the issue ?

@orchestor
Copy link

I have same problem. It seems Chartjs has a higher priority than canvas drawing.

@liamrathke
Copy link

I've been having this issue as well, it seems to get stuck when the line's value (y-axis) is at exactly max-height for several points in a row.

@5-digits
Copy link
Author

@liamrathke : Always first time doesn't display properly and after the second refresh it fixed can you you send me your example to know what's wrong

@liamrathke
Copy link

liamrathke commented Jun 21, 2018

@5-digits correct, this is what I'm experiencing as well. I was finally able to get a test case.

First time:
screen shot 2018-06-21 at 11 43 57 am

Second time:
screen shot 2018-06-21 at 11 44 46 am

As you can see, the first point cuts off, but when the page is refreshed, the first point loads properly.

@5-digits
Copy link
Author

@liamrathke How to fix it permanently ?

@stevencherry1
Copy link

stevencherry1 commented Aug 22, 2018

I am getting this as well. If i set ticks.max to 100, and have a line go from 0,100 to 0,100, the line gets partially hidden because it is slightly above the 100 line max. Is there any quick fix for this?

At y= 100
image

at y = 99
image

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

6 participants