From a5d0810ca7db91fc3616042bbf81eeae83a04063 Mon Sep 17 00:00:00 2001 From: Jukka Kurkela Date: Thu, 13 Feb 2020 21:20:50 +0200 Subject: [PATCH] Fix transparentize in samples --- samples/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/utils.js b/samples/utils.js index 71ac5e4e122..a750e011724 100644 --- a/samples/utils.js +++ b/samples/utils.js @@ -39,7 +39,7 @@ window.chartColors = { ]; var Samples = global.Samples || (global.Samples = {}); - var Color = global.Color; + var Color = Chart.helpers.color; Samples.utils = { // Adapted from http://indiegamr.com/generate-repeatable-random-numbers-in-js/