Formatting

This commit is contained in:
Wilson Lin 2021-08-08 23:11:34 +10:00
parent 38f186f73e
commit c3bbbc4985
1 changed files with 2 additions and 2 deletions

View File

@ -158,7 +158,7 @@ const renderChart = (cfg, width, height) =>
{ {
type: "bar", type: "bar",
data: { data: {
labels: speedMinifiers.map(m => m.replace(" (", "\n(")), labels: speedMinifiers.map((m) => m.replace(" (", "\n(")),
datasets: [ datasets: [
{ {
backgroundColor: speedMinifiers.map( backgroundColor: speedMinifiers.map(
@ -183,7 +183,7 @@ const renderChart = (cfg, width, height) =>
{ {
type: "bar", type: "bar",
data: { data: {
labels: sizeMinifiers.map(m => m.replace(" (", "\n(")), labels: sizeMinifiers.map((m) => m.replace(" (", "\n(")),
datasets: [ datasets: [
{ {
backgroundColor: sizeMinifiers.map( backgroundColor: sizeMinifiers.map(