-
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
Line scriptable options #5973
Line scriptable options #5973
Conversation
Also updates the hover style tests to properly setup the chart
I agree this because it is a long list and |
I quickly split the table into two sections: Point Properties and Line Properties. I will edit the copy again this evening. |
@etimberg I would not split the options table which gives a complete overview of all the dataset options but I would split only the styling section ( |
29fe1f2
to
99fcb01
Compare
35fcdfd
to
3bc7970
Compare
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.
Awesome work @etimberg, thanks!
Background
This PR introduces scriptable configuration options for points on line charts. The user can script the styling and interaction options.
Testing
The existing unit tests covering the setHoverStyle dataset controller method were removed as they did not have proper setup for use with scriptable options.
Fixture based tests were written to test:
pointBackgroundColor
pointBorderColor
pointBorderWidth
pointRadius
pointRotation
pointStyle
Documentation
I updated the line chart documentation to match the style of the bubble & bar charts. It may be a good idea to split the
Styling
section of the documents intoLine Styling
andPoint Styling
. If there is agreement on that change I can go ahead and make the update.