Fix chart

This commit is contained in:
Jeffrey Serio 2024-11-21 11:44:26 -06:00
parent 28c7e49200
commit 0baba821b0

14
main.go
View File

@ -968,7 +968,7 @@ func getTemplateContent(name string) string {
backgroundColor: '#f5c2e7', backgroundColor: '#f5c2e7',
borderColor: '#f5c2e7', borderColor: '#f5c2e7',
fill: true, fill: true,
order: 3 order: 3,
}, },
{ {
label: '4-10 seeders', label: '4-10 seeders',
@ -976,7 +976,7 @@ func getTemplateContent(name string) string {
backgroundColor: '#f9e2af', backgroundColor: '#f9e2af',
borderColor: '#f9e2af', borderColor: '#f9e2af',
fill: true, fill: true,
order: 2 order: 2,
}, },
{ {
label: '>10 seeders', label: '>10 seeders',
@ -984,9 +984,9 @@ func getTemplateContent(name string) string {
backgroundColor: '#74c7ec', backgroundColor: '#74c7ec',
borderColor: '#74c7ec', borderColor: '#74c7ec',
fill: true, fill: true,
order: 1 order: 1,
} },
] ],
}, },
options: { options: {
responsive: true, responsive: true,
@ -1035,10 +1035,10 @@ func getTemplateContent(name string) string {
intersect: false, intersect: false,
}, },
}, },
}) });
} }
createChart(); createChart();
</script> </script>
<div class="generate-torrent-list-container"> <div class="generate-torrent-list-container">