Open 7ASSEL opened 3 months ago
^1.11.2
https://jsfiddle.net/c207a54n/
No interactioin required, open the link and you will see that.
type: 'line', line: { style: { curveType: 'monotone', stroke: (data) => { if (data.value >= upperBound || data.value <= lowerBound) { return 'red'; } return 'blue'; }, }, },
When the monotone line changes color, the conjunction part becomes sharp, which goes against expected behavior.
line shape stays the same as no color changes.
- OS: - Browser: - Framework:
No response
Version
^1.11.2
Link to Minimal Reproduction
https://jsfiddle.net/c207a54n/
Steps to Reproduce
No interactioin required, open the link and you will see that.
Current Behavior
When the monotone line changes color, the conjunction part becomes sharp, which goes against expected behavior.
Expected Behavior
line shape stays the same as no color changes.
Environment
Any additional comments?
No response