From 9b17935f790424723e2a218904f54ae66402b451 Mon Sep 17 00:00:00 2001
From: Hugo Locurcio
Date: Tue, 16 Dec 2025 04:26:53 +0100
Subject: [PATCH] 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.
---
README.md | 2 +-
index.html | 250 ++++++++++++++++++++--------
thirdparty/chart.umd.min.js | 14 ++
thirdparty/frappe-charts.umd.min.js | 2 -
4 files changed, 192 insertions(+), 76 deletions(-)
create mode 100644 thirdparty/chart.umd.min.js
delete mode 100644 thirdparty/frappe-charts.umd.min.js
diff --git a/README.md b/README.md
index 224f458..1e4d34a 100644
--- a/README.md
+++ b/README.md
@@ -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.
diff --git a/index.html b/index.html
index df741bf..97542a6 100644
--- a/index.html
+++ b/index.html
@@ -5,7 +5,8 @@
-
+
Godot GitHub issue statistics
@@ -28,18 +29,29 @@
margin-top: -3rem;
}
+ details {
+ align-items: unset;
+ }
+
summary {
/* Make accordion titles look more like headings. */
font-weight: bold;
font-size: 1.25rem;
}
+ .chart-container {
+ /* Limit size of donut charts on desktop. */
+ position: relative;
+ max-width: 20rem;
+ margin: 0 auto 2rem auto;
+ }
+
.chart-caption {
font-size: 0.9rem;
font-style: italic;
}
-
+
@@ -386,49 +443,57 @@
metrics does not add up to this number, as a user may report several
issues with identical hardware/software configuration.
-
-
- ⚠️ There are known issues
- with chart display in Chromium-based browsers and Safari. Please use Firefox to view charts.
-
-
Operating system
-
+
+
+
Windows version
-
+
+
+
macOS version
-
+
+
+
Linux distribution
-
+
+
+
Android version
-
+
+
+
iOS version
-
+
+
+
Web browser
-
+
+
+
The web browser used when reporting issues related to the web editor or web export.
@@ -436,12 +501,16 @@
CPU vendor
-
+
+
+
AMD CPU generation
-
+
+
+
Laptop CPUs, FXs, Athlons, Phenoms, Threadrippers and EPYCs are currently categorized as "Other/Unknown".
@@ -449,7 +518,9 @@
Intel CPU generation
-
+
+
+
Laptop CPUs, Celerons, Pentiums and Xeons are currently categorized as "Other/Unknown".
@@ -457,7 +528,9 @@
CPU physical core count
-
+
+
+
For CPUs with hybrid (big.LITTLE) topologies, both "big" cores and "little" cores are summed together.
@@ -465,7 +538,9 @@
Highest supported x86 CPU instruction set
-
+
+
+
Support for a new instruction set implies support for older instruction sets. For instance, supporting
AVX-512 implies supporting AVX2, AVX and SSE4.2.
@@ -475,7 +550,9 @@
CPU multi-thread performance score
-
+
+
+
Scores are sourced from PassMark.
For reference, here are some example CPUs that roughly match each score threshold:
@@ -493,7 +570,9 @@
CPU single-thread performance score
-
+
+
+
Scores are sourced from PassMark.
For reference, here are some example CPUs that roughly match each score threshold:
@@ -511,27 +590,37 @@
GPU vendor
-
+
+
+
AMD GPU generation
-
+
+
+
Intel GPU generation
-
+
+
+
NVIDIA GPU generation
-
+
+
+
GPU video memory
-
+
+
+
Only dedicated GPUs are taken into account.
@@ -540,9 +629,13 @@
GPU hardware-accelerated raytracing support
Dedicated GPUs
-
+
+
+
Integrated GPUs
-
+
+
+
Raytracing is currently not used in Godot.
@@ -554,20 +647,29 @@
GPU variable rate shading support