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

Function makeGridArea

examples/basic-line/main.ts:108–115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

106 }
107
108 const makeGridArea = (): GridArea => ({
109 left: options.grid?.left ?? 0,
110 right: options.grid?.right ?? 0,
111 top: options.grid?.top ?? 0,
112 bottom: options.grid?.bottom ?? 0,
113 canvasWidth: canvas.width,
114 canvasHeight: canvas.height,
115 });
116
117 const eventManager = createEventManager(canvas, makeGridArea());
118 eventManager.on('mousemove', (payload) => {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected