-
Notifications
You must be signed in to change notification settings - Fork 411
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: allow modifying width of normal and hovered stroke lines
- Loading branch information
1 parent
9feda56
commit 51a96d3
Showing
2 changed files
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51a96d3
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.
Doesn't
stroke_width
here break the stroke_style configuration option for serie?It applies the style directly to the
<path>
element, overriding any 'width' specified withstroke_style
(which is applied to the<g>
containing the path).Using stroke_style seems to be the better way to do this, that way you can control the stroke width for each serie independently and it doesn't apply to the legend boxes as well.