If we are looking at gauge chart, it's 180 deg (from -90 to 90). I need to implement gradient which is curved from left about -60 deg angle - like this \. Is that possible?
I did a little hack to achieve this with default horizontal gradient:
const elements = document.getElementsByTagName('linearGradient');
for (let element of elements) {
element.setAttribute('y1', '50%');
element.setAttribute('y2', '10%');
}
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If we are looking at gauge chart, it's 180 deg (from -90 to 90). I need to implement gradient which is curved from left about -60 deg angle - like this
\
. Is that possible?I did a little hack to achieve this with default horizontal gradient:
But I was hoping there is a better solution?