Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1251572
| From | Roland Mas <lolando@debian.org> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1108606: libjs-chart.js: Please include a date adapter for line charts |
| Date | 2025-07-01 11:40 +0200 |
| Message-ID | <L3FD3-erys-7@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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
Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread
Bug#1108606: libjs-chart.js: Please include a date adapter for line charts Roland Mas <lolando@debian.org> - 2025-07-01 11:40 +0200
csiph-web