begin new custom chart implementation for js ui

This commit is contained in:
2026-07-16 11:45:17 -04:00
parent 13a60a90a1
commit 550e97aa9b
21 changed files with 1001 additions and 179 deletions

View File

@@ -1188,12 +1188,12 @@ func chartsSection() func() *VNode {
),
),
note("webui.ReactiveChart is a stub, and says so",
"The Solid kit's Chart wraps chart.js: it creates a Chart against a <canvas> 2D context "+
"on mount and pushes new data through an effect. None of that — canvas drawing, a JS "+
"charting library, mount lifecycles — exists in the neutral Go runtime, so the Go port "+
"keeps the props shape for parity and renders an empty canvas. Draw with go-chart "+
"instead, as above. Pretending otherwise would be the one thing this site refuses to do."),
note("webui.Chart is a stub, and says so",
"The Solid kit's Chart draws its own SVG — nice-scale axes, rounded columns, arc slices, "+
"a pointer-driven crosshair — with no charting library at all. That geometry has not "+
"been ported to the neutral Go runtime yet, so the Go port keeps the props shape for "+
"parity and renders only its box. This example draws with go-chart "+
"instead, as above. Pretending the port drew charts would be the one thing this site refuses to do."),
)
}
}