make the cumulative area a bit more visible

This commit is contained in:
Damien Elmes 2020-08-05 15:35:07 +10:00
parent b3df572f31
commit 15c50e68eb
2 changed files with 5 additions and 5 deletions

View file

@ -104,7 +104,7 @@ export function buildHistogram(
return [null, []]; return [null, []];
} }
const adjustedRange = scaleLinear().range([0.8, 0.3]); const adjustedRange = scaleLinear().range([0.7, 0.3]);
const colourScale = scaleSequential((n) => const colourScale = scaleSequential((n) =>
interpolateGreens(adjustedRange(n)) interpolateGreens(adjustedRange(n))
).domain([xMin!, xMax!]); ).domain([xMin!, xMax!]);

View file

@ -107,9 +107,9 @@ body {
} }
.graph .area { .graph .area {
opacity: 0.05;
pointer-events: none; pointer-events: none;
fill: $day-fg; fill: #00000008;
stroke: #00000015;
} }
.hoverzone rect { .hoverzone rect {
@ -180,8 +180,8 @@ body.night-mode {
color: $night-fg; color: $night-fg;
} }
.graph .area { .graph .area {
fill: $night-fg; fill: #ffffff15;
opacity: 0.1; stroke: #00000030;
} }
.no-data rect { .no-data rect {
fill: $night-bg; fill: $night-bg;