mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
Fixed bug with bezier still being used with tension set to 0
This commit is contained in:
parent
a423542775
commit
2c178a5670
@ -37,6 +37,8 @@
|
||||
skipHandler.call(this, previousPoint, point, nextPoint);
|
||||
} else if (previousPoint._view.skip) {
|
||||
previousSkipHandler.call(this, previousPoint, point, nextPoint);
|
||||
} else if (this._chart.config.options.elements.line.tension === 0) {
|
||||
ctx.lineTo(point._view.x, point._view.y);
|
||||
} else {
|
||||
// Line between points
|
||||
ctx.bezierCurveTo(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user