Set interpolation mode to "monotone" to avoid backwards-going lines (fix #70) (#71)

This commit is contained in:
mbof
2024-08-26 03:24:45 -07:00
committed by GitHub
parent c1faea787a
commit d939ef2f60

View File

@@ -104,7 +104,8 @@
line: { line: {
pointRadius: 0, pointRadius: 0,
tension: 0.4, tension: 0.4,
borderWidth: 2 borderWidth: 2,
cubicInterpolationMode: 'monotone'
} }
}, },
interaction: { interaction: {