Skip to content

Commit a102ca5

Browse files
authored
Revert fix for monotone cubic interpolation (#11432)
1 parent ef5fa53 commit a102ca5

File tree

5 files changed

+1
-71
lines changed

5 files changed

+1
-71
lines changed

src/controllers/controller.line.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export default class LineController extends DatasetController {
5757
line._chart = this.chart;
5858
line._datasetIndex = this.index;
5959
line._decimated = !!_dataset._decimated;
60-
line.points = points.slice(Math.max(this._drawStart - 1, 0), this._drawStart + this._drawCount);
60+
line.points = points;
6161

6262
const options = this.resolveDatasetElementOptions(mode);
6363
if (!this.options.showLine) {

test/fixtures/controller.line/cubicInterpolationMode/scaleMInMaxLimits.js

Lines changed: 0 additions & 35 deletions
This file was deleted.
Binary file not shown.

test/fixtures/controller.line/cubicInterpolationMode/scaleMaxLimit.js

Lines changed: 0 additions & 35 deletions
This file was deleted.
Binary file not shown.

0 commit comments

Comments
 (0)