Chart.js : legend label with several curves #12156
Unanswered
aragorn83-ux
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone !
I want to create a graph containing two 'line' type curves.
My difficulty is that I want to be able to use a different font for the legend label of the first curve than for the second curve.
The result is that I get both curves correctly, but the font is the same for both labels. The code only works for the text color, but it doesn't change the size, style, or weight.
What is wrong in this code ?
Thanks in advance for your help.
Here is the code I'm using :
Beta Was this translation helpful? Give feedback.
All reactions