Switch to Chart.js to fix chart display

Frappe Charts is broken on recent browsers, and upstream is inactive.

This changes rendering from stacked horizontal bar graphs to donut charts,
as stacked horizontal bar graphs aren't available in Chart.js to my knowledge.
This commit is contained in:
Hugo Locurcio
2025-12-16 04:26:53 +01:00
parent 043826956e
commit 9b17935f79
4 changed files with 192 additions and 76 deletions

View File

@@ -44,7 +44,7 @@ but they allow seeing what kind of hardware and software is popular among issue
- The frontend is a single [`index.html`](/index.html) page, plus the
third-party dependencies mentioned below. No frontend building is required.
- [Frappe Charts](https://frappe.io/charts) is used to display charts.
- [Chart.js](https://www.chartjs.org/) is used to display charts.
- [Ky](https://github.com/sindresorhus/ky) is used to make an HTTP request to the JSON file.
- [Water.css](https://watercss.kognise.dev/) is used for styling the page.