SIGN IN SIGN UP
chartjs / chart.js UNCLAIMED

Simple HTML5 Charts using the <canvas> tag

0 0 0 JavaScript

Require 'this' when calling tick formatters (#12064)

The `numeric` and `logarithmic` tick formatters require that `this` be provided. That happens automatically if they're used directly as a tick callback but not if they're invoked manually. Failing to pass `this` results in runtime errors similar to the following:

```
TypeError: Cannot read properties of undefined (reading 'chart')
```
J
Josh Kelley committed
3361a637052c2e51d5bcf077e727e06a53941a3a
Parent: f46572e
Committed by GitHub <noreply@github.com> on 4/18/2025, 11:16:34 AM