From a476c3247c7ca22ee1cbd9e088ff228933847e09 Mon Sep 17 00:00:00 2001 From: Jukka Kurkela Date: Fri, 14 Feb 2020 01:42:53 +0200 Subject: [PATCH] Fix transparentize in samples (#7098) --- samples/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/utils.js b/samples/utils.js index 71ac5e4e1..a750e0117 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/