[Pkg-javascript-devel] Bug#1108606: libjs-chart.js: Please include a date adapter for line charts

Roland Mas lolando at debian.org
Tue Jul 1 10:36:56 BST 2025


Package: libjs-chart.js
Version: 3.9.1+~cs3.1.2-3
Severity: normal

Dear Maintainer,

My webapp includes line charts to plot time series data. The charts work fine
when the x values are simple integers (years), but when I use ISO8601 dates as
strings, such as '2025-05-15', the chart is not plotted. Instead there's a red
message stating "Error Loading Chart: This method is not implemented: Check
that a complete date adapter is provided."

Browsing various sites led me to understand that the current Chart.js no longer
includes a date parser, but instead delegates this task to one of several
adapters. The "awesome" pack (a collection of plugins for chart.js) lists
several of the adapters at https://github.com/chartjs/awesome?tab=readme-ov-
file#adapters and I suggest picking one of them and including it into the
package.

(Alternatively, maybe package the full awesome pack? That may be a larger task
though.)

Thanks,

Roland.


-- System Information:
Debian Release: 12.11
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-37-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- no debconf information



More information about the Pkg-javascript-devel mailing list