Skip to content

Commit 7ac45ac

Browse files
committed
Hide legend, it's only one dataset
1 parent 8a2aa64 commit 7ac45ac

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

client/src/components/TrafficCharts/Chart.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ const initChart = (
4242
responsive: true,
4343
aspectRatio: 3,
4444
plugins: {
45+
legend: {
46+
display: false,
47+
},
4548
tooltip: {
4649
callbacks: {
4750
label: (context: TooltipItem<"line">) => {

0 commit comments

Comments
 (0)