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

Function apply

examples/scatter-density-1m/main.ts:168–180  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

166 updateBinnedReadout();
167
168 const apply = (): void => {
169 chart.setOption({
170 ...baseOptions,
171 series: [
172 {
173 ...(baseOptions.series![0] as any),
174 binSize: Number(binSizeInput.value),
175 densityColormap: colormapSelect.value,
176 densityNormalization: normalizationSelect.value,
177 },
178 ],
179 });
180 };
181
182 binSizeInput.addEventListener('change', apply);
183 colormapSelect.addEventListener('change', apply);

Callers

nothing calls this directly

Calls 1

setOptionMethod · 0.65

Tested by

no test coverage detected