Skip to content

Conversation

@jgmcelwain
Copy link
Contributor

Added width + height arguments to ctx.drawImage when using an image as a pointStyle.

Previous functionality meant that images would be drawn at their source file size regardless of whether custom width or height properties were set.

Previous functionality meant that images would be drawn at their source file size regardless of whether custom width or height properties were set.
@etimberg
Copy link
Member

Looks like a good fix. Is there an open issue for this already?

@jgmcelwain
Copy link
Contributor Author

I believe #3681 is related, but is closed

@etimberg etimberg merged commit 0bbc3fa into chartjs:master May 13, 2017
@etimberg etimberg added this to the Version 2.6 milestone May 13, 2017
@jgmcelwain jgmcelwain deleted the point-style-image-fix branch May 14, 2017 19:08
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