Chart.js
Chart.js copied to clipboard
borderSkipped "middle" option does not work well with empty datasets
Expected behavior
Bottom borders should have a radius when using borderSkipped: "middle"
even if there's no dataset below (or the dataset is empty)
Current behavior
Bottom border was drawn without radius
Reproducible sample
https://codesandbox.io/s/eloquent-sammet-xix55o?file=/App.tsx
Optional extra steps/info to reproduce
No response
Possible solution
No response
Context
No response
chart.js version
v3.7.1
Browser name and version
No response
Link to your project
No response
What should this do if there's only a single dataset? Right now borderSkipped: 'middle'
hides the border as well
I think this should show the border radius regardless of the number of datasets