mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-23 00:26:52 +01:00
_boundSegments did not work on rising line (#8838)
This commit is contained in:
@@ -14,7 +14,7 @@ function propertyFn(property) {
|
||||
};
|
||||
}
|
||||
return {
|
||||
between: (n, s, e) => n >= s && n <= e,
|
||||
between: (n, s, e) => n >= Math.min(s, e) && n <= Math.max(e, s),
|
||||
compare: (a, b) => a - b,
|
||||
normalize: x => x
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user