MCPcopy
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

1function 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
8const canvas = document.createElement('canvas');
9canvas.width = 512;

Callers 1

runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected