-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Can't modify stroke width of multi-series sparkline chart #4216
Labels
bug
Something isn't working
Comments
7 tasks
This was referenced Jun 2, 2024
This was referenced Jun 9, 2024
This was referenced Jun 13, 2024
This was referenced Jun 17, 2024
This was referenced Jun 20, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Passing a two-element array to
stroke.width
while using a two-series sparkline chart breaks the rendering of the chart. It seems related to this commit, specifically the part where math is being performed onstroke.width
, even though it might be an array(L54-L56): 2ac1adbSteps to Reproduce
stroke.width
, like[2, 3]
Expected Behavior
Render each series with the given stroke width
Actual Behavior
The chart can't be rendered
Screenshots
When not specifying the stroke width:
When specifying a two-element array stroke width:
Reproduction Link
https://codepen.io/lmansur/pen/mdojgWm?editors=1111
The text was updated successfully, but these errors were encountered: