You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found a solution, reason for the issue was "Data labels plugin". I disabled the DataLabels plugin and the issue was resolved!
Here is fix for anyone facing the same issue.
Hi, Wordcloud is showing numbers along with words. The numbers are display in small size. How can I hide the numbers (i.e. the value field)?
Here's my code:
const chart = new Chart(document.getElementById(visual.VisualId).getContext("2d"), {
type: "wordCloud",
data: {
labels: words2.map((d) => d.key),
datasets: [
{
label: "",
data: words2.map((d) =>d.value)
}
]
},
options: {
color: ThemeCols[0].toString(),
fit:true,
padding: 2,
title: {
display: false,
},
plugins: {
legend: {
display: false
}
}
}
});
I am using ChartJs version 3.5.1
and word cloud version 3
Thanks
The text was updated successfully, but these errors were encountered: