You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on legend strikethough implementation(code1, code2), legend strikethrough will always have lineWidth as 2 regardless of actual font size. This issue becomes clearly noticeable on small device as shown below.
Possible Implementation
Would suggest to calculate lineWidth based on font size for legend. A rough idea would be updating code from
Feature Proposal
Based on legend strikethough implementation(code1, code2), legend strikethrough will always have
lineWidth
as2
regardless of actual font size. This issue becomes clearly noticeable on small device as shown below.Possible Implementation
Would suggest to calculate
lineWidth
based on font size for legend. A rough idea would be updating code fromto
I tested locally this change and this is before and after:
If hard coding ratio here is not acceptable, another option would be providing some option like the one for label to customize strikethrough width.
The text was updated successfully, but these errors were encountered: