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

Function showError

examples/chart-sync/main.ts:21–26  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

19};
20
21const showError = (message: string): void => {
22 const el = document.getElementById('error');
23 if (!el) return;
24 el.textContent = message;
25 el.style.display = 'block';
26};
27
28const createOptions = (title: string, data: ReadonlyArray<DataPoint>, color: string): ChartGPUOptions => {
29 const xMax = Math.PI * 2;

Callers 1

main.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected