Bar Chart Remove Label? #11123
Answered
by
LeeLenaleee
trymeouteh
asked this question in
Q&A
-
Is there a way to remove the label from the bar chart? It seems to be required but I would prefer the option to remove the label at the top of the chart. |
Beta Was this translation helpful? Give feedback.
Answered by
LeeLenaleee
Feb 8, 2023
Replies: 2 comments 1 reply
-
Which label are you referring to, the top y Axis tick label? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Seems you are referring to the legend. This can be disabled with the following config: new Chart(ctx, {
type: 'bar',
data: data,
options: {
plugins: {
legend: false
}
}
}) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
trymeouteh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seems you are referring to the legend. This can be disabled with the following config: