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'; }