Add alpha channel to burn background; tweak colors

This commit is contained in:
Willian Mitsuda 2021-08-03 23:58:59 -03:00
parent 031d09c32d
commit 06ee275938
1 changed files with 3 additions and 3 deletions

View File

@ -51,15 +51,15 @@ export const toChartData = (blocks: ExtendedBlock[]): ChartData => ({
.map((b) => b.gasUsed.mul(b.baseFeePerGas!).toNumber() / 1e9) .map((b) => b.gasUsed.mul(b.baseFeePerGas!).toNumber() / 1e9)
.reverse(), .reverse(),
fill: true, fill: true,
backgroundColor: "#FDBA74", backgroundColor: "#FDBA7470",
borderColor: "#F97316", borderColor: "#FB923C",
tension: 0.2, tension: 0.2,
}, },
{ {
label: "Base fee (Gwei)", label: "Base fee (Gwei)",
data: blocks.map(b => b.baseFeePerGas!.toNumber()).reverse(), data: blocks.map(b => b.baseFeePerGas!.toNumber()).reverse(),
yAxisID: "yBaseFee", yAxisID: "yBaseFee",
borderColor: "#FCA5A5", borderColor: "#38BDF8",
tension: 0.2 tension: 0.2
} }
], ],