chore(bundle): update chartkick to fix defer deprecation warning and v5 like JS counterpart

This commit is contained in:
Colin Darie 2023-11-10 13:48:46 +01:00
parent baecdd5cbd
commit 92661d074d
No known key found for this signature in database
GPG key ID: 8C76CADD40253590
2 changed files with 1 additions and 2 deletions

View file

@ -161,7 +161,7 @@ GEM
nokogiri (~> 1.10, >= 1.10.4) nokogiri (~> 1.10, >= 1.10.4)
rubyzip (>= 1.3.0, < 3) rubyzip (>= 1.3.0, < 3)
charlock_holmes (0.7.7) charlock_holmes (0.7.7)
chartkick (4.1.3) chartkick (5.0.4)
choice (0.2.0) choice (0.2.0)
chunky_png (1.4.0) chunky_png (1.4.0)
clamav-client (3.2.0) clamav-client (3.2.0)

View file

@ -1,6 +1,5 @@
Chartkick.options = { Chartkick.options = {
content_for: :charts_js, content_for: :charts_js,
defer: true,
colors: ["#000091"], colors: ["#000091"],
thousands: ' ', thousands: ' ',
decimal: ',' decimal: ','