fix chart data

This commit is contained in:
Pig Fang 2021-08-22 12:47:25 +08:00
parent d98beae262
commit 2c579a4043
No known key found for this signature in database
GPG Key ID: A8198F548DADA9E2

View File

@ -52,13 +52,13 @@ async function main() {
{
label: chartData.labels[0]!,
xAxis: chartData.xAxis,
data: chartData.data[0]!.map(() => ~~(Math.random() * 300)),
data: chartData.data[0]!,
},
)
createLineChart(elTexturesUpload, '#6f42c1', textColor, {
label: chartData.labels[1]!,
xAxis: chartData.xAxis,
data: chartData.data[1]!.map(() => ~~(Math.random() * 300)),
data: chartData.data[1]!,
})
}