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:
parent
022852ac4a
commit
f7a6a54fb0
@ -69,7 +69,7 @@ const customHighlightPlugin = {
|
|||||||
yAxis.bottom,
|
yAxis.bottom,
|
||||||
);
|
);
|
||||||
gradient.addColorStop(0, 'rgba(129, 122, 254, 0)');
|
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.fillStyle = gradient;
|
||||||
ctx.fillRect(
|
ctx.fillRect(
|
||||||
x - width / 2,
|
x - width / 2,
|
||||||
|
@ -65,7 +65,7 @@ const customHighlightPlugin = {
|
|||||||
yAxis.bottom,
|
yAxis.bottom,
|
||||||
);
|
);
|
||||||
gradient.addColorStop(0, 'rgba(129, 122, 254, 0)');
|
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.fillStyle = gradient;
|
||||||
ctx.fillRect(
|
ctx.fillRect(
|
||||||
x - width / 2,
|
x - width / 2,
|
||||||
|
Loading…
Reference in New Issue
Block a user