-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
[BUG] Release v2.7.3 scatter plot CanvasGradient #5839
Comments
Since v2.7.3, the origin of coordinates for CanvasGradient has become relative (#5319). In other words, the center of each point is (0, 0) for CanvasGradient. |
I don't get what you mean. The center of each point has nothing to do with CanvasGradient. |
Ok, this seems a common use case. @simonbrunel #5319 uses |
I don't know what's the best solution and I agree that calculating ourselves the rotated coordinates can have impact on performances. But we could try to benchmark how bad is it and see if it's an acceptable direction. |
I believe in v2.7.3, something goes wrong.
I tried to apply CanvasGradient color to scatter plot and it just doesn't work.
At last, I changed to v2.7.2 and it worked.
v2.7.2
https://jsfiddle.net/b1embnd2/14/
v2.7.3
https://jsfiddle.net/b1embnd2/15/
Construction of the graph is completely same, the only difference is the version of chart.js.
The text was updated successfully, but these errors were encountered: