[Chartjs]-Chart.js barchart without set fill color

19👍

fillColor uses rgba. a = alpha. you can set alpha value to 0. such as

fillColor: "rgba(220,220,220,0)"

this should give it a transparent fill color and still display the border colors assuming you have them not transparent.

2👍

I know its very late, but we can achieve empty bar chart with only the border visible by setting the property : fill:false

Hope it helps someone 🙂

Leave a comment