MCPcopy Create free account
hub / github.com/chartjs/Chart.js / interpolatedLineTo

Function interpolatedLineTo

src/plugins/plugin.filler/filler.drawing.js:200–205  ·  view source on GitHub ↗
(ctx, target, point, property)

Source from the content-addressed store, hash-verified

198}
199
200function interpolatedLineTo(ctx, target, point, property) {
201 const interpolatedPoint = target.interpolate(point, property);
202 if (interpolatedPoint) {
203 ctx.lineTo(interpolatedPoint.x, interpolatedPoint.y);
204 }
205}
206

Callers 1

fillFunction · 0.85

Calls 1

interpolateMethod · 0.65

Tested by

no test coverage detected