[BUG] radialBar chart of apexcharts does not work with tabler-vendors.css and tabler-vendors.min.css · Issue #1585 · tabler/tabler · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But the css variable --tblr-border-color-dark does not exists, the most like one is --tblr-border-dark-color, but after I override this rule with style:
Finally, I got the chart works by delete the .apexcharts-radialbar-area override rule in tabler-vendors.css and tabler-vendors.min.css , because I don't know how to override it again.
document.addEventListener("DOMContentLoaded",function(){window.ApexCharts&&(newApexCharts(document.getElementById('chart-radio-bar-multiple'),{series: [44,55,67,83],chart: {height: 350,type: 'radialBar',},plotOptions: {radialBar: {dataLabels: {name: {fontSize: '22px',},value: {fontSize: '16px',},total: {show: true,label: 'Total',formatter: function(w){// By default this function returns the average of all series. The below is just an example to show the use of custom formatter functionreturn249}}}}},labels: ['Apples','Oranges','Bananas','Berries'],})).render();});
Will get chart like this:
And the chart will be correctly by disable the css rule .apexcharts-radialbar-area in tabler-vendors.css
Uh oh!
There was an error while loading. Please reload this page.
radialBar chart of apexcharts does not work with tabler-vendors.css and tabler-vendors.min.css.
radialBar chart of apexcharts does not work with tabler-vendors.css and tabler-vendors.min.css.
Just copy demo from apexcharts's official demo :
https://apexcharts.com/javascript-chart-demos/radialbar-charts/multiple-radialbars/
And I get a result like this:
I have trived inspect the charts's element, and I found there was an override of
.apexcharts-radialbar-area
But the css variable
--tblr-border-color-dark
does not exists, the most like one is--tblr-border-dark-color
, but after I override this rule with style:and I get a result like this:
Finally, I got the chart works by delete the
.apexcharts-radialbar-area
override rule intabler-vendors.css
andtabler-vendors.min.css
, because I don't know how to override it again.https://github.com/tabler/tabler/blob/dev/dist/css/tabler-vendors.css#L1176
The text was updated successfully, but these errors were encountered: