Yes. chartgpu-react is a wrapper around chartgpu, which requires WebGPU (navigator.gpu).
If WebGPU is not available, chart creation will fail. See Troubleshooting.
Most commonly:
- The container has no height (e.g.
height: 0or onlywidth: 100%). - WebGPU is not supported / blocked in the current browser/profile.
See Sizing.
Use the imperative ref API:
ChartGPUHandle.appendData(seriesIndex, newPoints)
See Streaming recipe.
Use:
useConnectCharts([chartA, chartB, ...])(recommended in React), orconnectCharts([chartA, chartB, ...])(manual)
See Chart sync recipe.
onZoomChange only fires when the underlying chart reports a non-null zoom range (chart.getZoomRange()).
Common causes:
dataZoomis not enabled in youroptions.- You are not interacting with zoom controls (inside/slider) so the range never changes.
See dataZoom basics.
Not directly during server rendering. WebGPU APIs (and navigator) are browser-only.
Render charts client-side only (e.g. dynamic import / useEffect gated render). See SSR pitfalls.