From 404c1a08c7ac4fae4a3711c850ca610815349116 Mon Sep 17 00:00:00 2001 From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Thu, 9 Jan 2020 13:25:31 -0800 Subject: [PATCH] Fix broken config in log scatter sample (#6937) --- samples/scales/logarithmic/scatter.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/scales/logarithmic/scatter.html b/samples/scales/logarithmic/scatter.html index 0360b3362..d4bc291fd 100644 --- a/samples/scales/logarithmic/scatter.html +++ b/samples/scales/logarithmic/scatter.html @@ -137,7 +137,7 @@ type: 'logarithmic', position: 'bottom', ticks: { - userCallback: function(tick) { + callback: function(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'; @@ -153,7 +153,7 @@ y: { type: 'linear', ticks: { - userCallback: function(tick) { + callback: function(tick) { return tick.toString() + 'dB'; } },