Legend label is not showing dash point style, it shows a line instead #11847
ProblemThe legend label is not showing dash point style, instead it shows a line: Link to code: https://codepen.io/luaneaquino/pen/JjQWEJG?editors=1010 Expected behaviorI want the legend label to show a dash style |
Answered by
aquino-luane
Aug 6, 2024
Replies: 1 comment
|
I found a solution! it uses generateLabels method and lineDash attribute. Please check line 58 of javascript file from this working example: https://codepen.io/luaneaquino/pen/wvLWmWV |
0 replies
Answer selected by
aquino-luane
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

I found a solution! it uses generateLabels method and lineDash attribute. Please check line 58 of javascript file from this working example: https://codepen.io/luaneaquino/pen/wvLWmWV