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
refactor(scale): For readability and maintainability (1) Migrate calcNiceTicks and calcNiceExtent from Scale class override member functions to plain functions, similar to axisAlignTicks. Previously it's hard to modify and error-prone. (2) Remove unnecessary override on Scale class hierarchy and limit override usage, which is difficult to understand and error-prone. (3) Simplify the inheritance - shift LogScale and TimeScale inheritance from IntervalScale to Scale. (4) Clarify the impl of IntervalScale - uniform the parameters setting entry for both "nice ticks" and "align ticks".
0 commit comments