Skip to content

Conversation

@OlduwanSteve
Copy link
Contributor

I am using chartjs for an application where the charts are baked to PDF server-side, with the eventual goal of printing them. I think this is quite common. Even for people using chartjs on the client, they may want to print the charts direct from the browser.

In either case it can be useful to force the charts to render at a higher DPR than the default window.devicePixelRatio so they look good at higher printer DPIs.

I found the existing code to deal with retina displays and I've extended it a bit to accept an override.

I could not get the docs task to run, but I think I've conformed to the style of nearby docs. Please let me know if I need to change anything.

@etimberg
Copy link
Member

Thanks for submitting this @OlduwanSteve. I like that you added some good documentation with your new config option!

@etimberg etimberg added this to the Version 2.7 milestone May 18, 2017
@etimberg etimberg requested a review from simonbrunel June 4, 2017 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants