Is it possible to create a gradient in the stroke color of these two lines, currently set to #389967, within this SVG?
.chart-three svg .circle-foreground {
stroke: #389967;
stroke-dasharray: 494.55px 549.5px;
stroke-dashoffset: 494.55px;
stroke-linecap: round;
-webkit-transform-origin: 50% 50%;
transform-origin: 50% 50%;
-webkit-transform: rotate(-90deg);
transform: rotate(-90deg);
}
You can find the complete source code here. It's written in SCSS, but can be compiled into CSS :
https://codepen.io/kunalkamble/pen/XXbWwN
I am trying to change the foreground color of this chart to create a gradient effect. Do you know if this is achievable?
I envision creating a meter that indicates energy consumption, transitioning from green at 0% to red at 100%.
Thank you in advance for any help!