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, []];
}
const adjustedRange = scaleLinear().range([0.8, 0.3]);
const adjustedRange = scaleLinear().range([0.7, 0.3]);
const colourScale = scaleSequential((n) =>
interpolateGreens(adjustedRange(n))
).domain([xMin!, xMax!]);

View File

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