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

Method updateControlPoints

src/elements/element.line.js:299–306  ·  view source on GitHub ↗
(chartArea, indexAxis)

Source from the content-addressed store, hash-verified

297 }
298
299 updateControlPoints(chartArea, indexAxis) {
300 const options = this.options;
301 if ((options.tension || options.cubicInterpolationMode === 'monotone') && !options.stepped && !this._pointsUpdated) {
302 const loop = options.spanGaps ? this._loop : this._fullLoop;
303 _updateBezierControlPoints(this._points, options, chartArea, loop, indexAxis);
304 this._pointsUpdated = true;
305 }
306 }
307
308 set points(points) {
309 this._points = points;

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected