1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-24 17:51:14 +02:00

Use a more opaque gradient for the darkest color stop.

This commit is contained in:
Thomas Heartman 2025-09-01 16:41:25 +02:00
parent 022852ac4a
commit f7a6a54fb0
No known key found for this signature in database
GPG Key ID: BD1F880DAED1EE78
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ const customHighlightPlugin = {
yAxis.bottom,
);
gradient.addColorStop(0, 'rgba(129, 122, 254, 0)');
gradient.addColorStop(1, 'rgba(129, 122, 254, 0.12)');
gradient.addColorStop(1, 'rgba(129, 122, 254, 0.20)');
ctx.fillStyle = gradient;
ctx.fillRect(
x - width / 2,

View File

@ -65,7 +65,7 @@ const customHighlightPlugin = {
yAxis.bottom,
);
gradient.addColorStop(0, 'rgba(129, 122, 254, 0)');
gradient.addColorStop(1, 'rgba(129, 122, 254, 0.12)');
gradient.addColorStop(1, 'rgba(129, 122, 254, 0.20)');
ctx.fillStyle = gradient;
ctx.fillRect(
x - width / 2,