Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/chartjs/Chart.js
/ drawMousePoint
Function
drawMousePoint
test/fixtures/controller.doughnut/event-replay.js:1–6 ·
view source on GitHub ↗
(ctx, center)
Source
from the content-addressed store, hash-verified
1
function
drawMousePoint(ctx, center) {
2
ctx.beginPath();
3
ctx.arc(center.x, center.y, 8, 0, Math.PI * 2);
4
ctx.fillStyle =
'yellow'
;
5
ctx.fill();
6
}
7
8
const
canvas = document.createElement(
'canvas'
);
9
canvas.width = 512;
Callers
1
run
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected