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

Issue with legend #4470

Closed
AlaaEddean opened this issue Jul 6, 2017 · 1 comment
Closed

Issue with legend #4470

AlaaEddean opened this issue Jul 6, 2017 · 1 comment

Comments

@AlaaEddean
Copy link

we are using Chartjs for some graphs and having an issue with clickable legend boxes, as they are being displayed in some cases and not displayed in other cases as in the below snapshots :
without : https://ibb.co/cDgHaF
with : https://ibb.co/mkCjNv

The case that we have observed for displaying these boxes is when the page auto refreshes while it is minimized.

here is the Canvas HTML:

<canvas width="1200" height="600" id="canvas_F2" class="justshowme" ></canvas>

here is the chart option:

			var lineGraph = new Chart($("#canvas_F2"), {
				type: 'line',
				data: chartdata2,
				});

and here is the refresh meta tag:
<meta http-equiv="refresh" content="300">
Can anyone please let us know what is wrong here?

Thanks a lot in advance

@etimberg
Copy link
Member

This is hard to debug without a fiddle that reproduces the issue. It's likely related to how we detect resizes of the canvas container. Likely fixed in #4596

@etimberg etimberg added this to the Version 2.7 milestone Aug 10, 2017
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