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

Canvas fallback #2807

Closed
yonatoshi opened this issue Jun 19, 2016 · 3 comments
Closed

Canvas fallback #2807

yonatoshi opened this issue Jun 19, 2016 · 3 comments

Comments

@yonatoshi
Copy link

@yonatoshi yonatoshi commented Jun 19, 2016

If someone doesn't have canvas enabled there is JavaScript errors which can cause other working scripts not to work. With the rise of canvas blocking it would be nice if chart Js had some fallback or even a way to alert the user canvas is disabled. The reason canvas blocking is increasing is because it can be fingerprinted by browsers and is a privacy issue for some users. Thanks for the great library and hope you can consider.

@etimberg

This comment has been minimized.

Copy link
Member

@etimberg etimberg commented Jun 28, 2016

I agree that we should gracefully handle this condition. I am happy to merge a PR that prevents a crash when the canvas does not exist.

@panzarino panzarino removed the Version: 2.x label Jun 30, 2016
@etimberg etimberg added this to the Version 2.4 milestone Sep 25, 2016
@simonbrunel

This comment has been minimized.

Copy link
Member

@simonbrunel simonbrunel commented Oct 15, 2016

@yonatoshi old post, but can you give more details about the JS errors and the way to disable canvas? what kind of fallback / alert are you thinking of?

@etimberg

This comment has been minimized.

Copy link
Member

@etimberg etimberg commented Oct 16, 2016

Fixed in #3474

@etimberg etimberg closed this Oct 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.