-
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
Add tests and a sample for radar scriptable line options #6263
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couldn't find anything wrong, but didn't go through every thing yet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @nagix for this update, just a minor comment to make the image diff more robust in some cases.
fill: false | ||
}, | ||
point: { | ||
borderColor: function(ctx) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would probably set a higher border width on all these pointBorderColor
tests to make sure the image diff will fail in case of a wrong color.
Updated image tests based on the review comment and #6269. |
* Add tests and a sample for radar scriptable line options * Improve image tests
#5621 added support for line scriptable options for the radar chart, but unit tests were missing. This PR adds tests and updates the radar chart sample.