From 39d83eeae0e1713af7152aa8af40b1cfa50f800e Mon Sep 17 00:00:00 2001 From: Jukka Kurkela Date: Tue, 29 Oct 2019 00:08:52 +0200 Subject: [PATCH] Fix scatter sample (#6627) --- samples/scales/logarithmic/scatter.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/scales/logarithmic/scatter.html b/samples/scales/logarithmic/scatter.html index 3a496f4bd..30c5facda 100644 --- a/samples/scales/logarithmic/scatter.html +++ b/samples/scales/logarithmic/scatter.html @@ -137,7 +137,7 @@ position: 'bottom', ticks: { userCallback: function(tick) { - var remain = tick / (Math.pow(10, Math.floor(Chart.helpers.log10(tick)))); + var remain = tick / (Math.pow(10, Math.floor(Chart.helpers.math.log10(tick)))); if (remain === 1 || remain === 2 || remain === 5) { return tick.toString() + 'Hz'; }