Tuesday, June 4, 2024
 Popular · Latest · Hot · Upcoming
159
rated 0 times [  165] [ 6]  / answers: 1 / hits: 15070  / 10 Years ago, tue, july 8, 2014, 12:00:00

This is my first time using Chart.js and I want to create bar chart with multiple series. Based on documentation we have to specify fillColor for each dataset.
Is that possible to create multiple chart without set fillColor (like barchart in excel).


More From » charts

 Answers
1

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.


[#70281] Friday, July 4, 2014, 10 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
montana

Total Points: 675
Total Questions: 86
Total Answers: 102

Location: Mali
Member since Fri, Dec 3, 2021
3 Years ago
montana questions
Sat, Sep 19, 20, 00:00, 4 Years ago
Fri, Jan 31, 20, 00:00, 4 Years ago
Thu, Sep 12, 19, 00:00, 5 Years ago
;