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

This commit is contained in:
mbof 2024-08-24 11:08:35 -07:00
parent e42dd6e144
commit f4e84a1c86

View file

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