This commit is contained in:
syuilo 2023-01-08 17:42:51 +09:00
parent 09d3ce444a
commit 416dcf884d
1 changed files with 3 additions and 3 deletions

View File

@ -86,10 +86,10 @@ async function renderChart() {
type: 'bar', type: 'bar',
data: { data: {
datasets: [ datasets: [
makeDataset('Normal', format(raw.diffs.normal).slice().reverse(), { backgroundColor: colorNormal }),
makeDataset('Reply', format(raw.diffs.reply).slice().reverse(), { backgroundColor: colorReply }),
makeDataset('Renote', format(raw.diffs.renote).slice().reverse(), { backgroundColor: colorRenote }),
makeDataset('File', format(raw.diffs.withFile).slice().reverse(), { backgroundColor: colorFile }), makeDataset('File', format(raw.diffs.withFile).slice().reverse(), { backgroundColor: colorFile }),
makeDataset('Renote', format(raw.diffs.renote).slice().reverse(), { backgroundColor: colorRenote }),
makeDataset('Reply', format(raw.diffs.reply).slice().reverse(), { backgroundColor: colorReply }),
makeDataset('Normal', format(raw.diffs.normal).slice().reverse(), { backgroundColor: colorNormal }),
], ],
}, },
options: { options: {