Closed stockiNail closed 2 years ago
looks great!
Yes definitely.. I will go on. major version or can we think to add to next minor? I dont see breaking changes till now
I think this can be included in a minor
needs a rebase
rebased
Borders look quite bad now:
Compared to previous:
Weird… now it should be aligned with bar element. Let me have a look tomorrow. Also weird that test cases ended well
It looks like the borderColor is not applied
There is a line that it should not be there too
I think the border was previously drawn over background, hence different color. But the artifact are due to devicePixelRatio and canvas weirdness with clipping.
I think the border was previously drawn over background, hence different color.
Yes, this morning I thought it. Nevertheless it could be a breaking change, even if this logic sounds correct to me because it maintains the borderColor
of the config... Apologize if I didn't recognize before.
FIX #126
This is PR is fixing definitely the rectangles size calculation leveraging on the copy of Chart.js
BarElement
code, whereborderWidth
(as object) andborderRadius
are correctly managed.This also simplifies some parts of the code and re-enables the
borderRadius
as scriptable options.TODO