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/