We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 394ce92 commit 2d9ec87Copy full SHA for 2d9ec87
1 file changed
src/components/popularity-chart.ts
@@ -309,6 +309,7 @@ class PopularityChart extends HTMLElement {
309
: lineTooltipHandler,
310
},
311
legend: {
312
+ display: data.datasets.length > 1,
313
align: isSmallScreen ? "start" : "center",
314
labels: {
315
color: textColor,
0 commit comments