apexcharts / vue-apexcharts

📊 Vue 2 component for ApexCharts
https://apexcharts.com
MIT License
1.34k stars 136 forks source link

Is there a way to set gauge chart gradient angle? #496

Open ivanabrkic opened 1 year ago

ivanabrkic commented 1 year ago

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%');
}

But I was hoping there is a better solution?

github-actions[bot] commented 4 months ago

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.