MCPcopy Index your code
hub / github.com/ChartGPU/ChartGPU / showError

Function showError

examples/scatter/main.ts:4–9  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

2import type { ChartGPUOptions, ScatterPointTuple } from '../../src/index';
3
4const showError = (message: string): void => {
5 const el = document.getElementById('error');
6 if (!el) return;
7 el.textContent = message;
8 el.style.display = 'block';
9};
10
11const mulberry32 = (seed: number): (() => number) => {
12 let a = seed | 0;

Callers 1

main.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected