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

Function applyOptions

examples/live-streaming/main.ts:113–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111 chart.resize();
112
113 const applyOptions = (): void => {
114 // When toggling autoScroll, keep the currently accumulated CPU-side data.
115 options = createBaseOptions(rawData, autoScroll);
116 chart.setOption(options);
117 };
118
119 autoScrollEl.addEventListener('change', () => {
120 autoScroll = autoScrollEl.checked === true;

Callers 3

mainFunction · 0.85
resetFunction · 0.85
startStreamingFunction · 0.85

Calls 2

createBaseOptionsFunction · 0.85
setOptionMethod · 0.65

Tested by

no test coverage detected