Skip to content

KChart v1.18.1 - Categorical Axis Tick Density Fix

Choose a tag to compare

@keneth80 keneth80 released this 14 Jul 01:33
· 34 commits to main since this release

Fixed

  • Fixed tickCount being ignored by point and string axes.
  • Categorical axes now evenly sample displayed labels through explicit D3 tickValues.
  • The first and last category labels are preserved while the complete scale domain and every series position remain unchanged.

Compatibility

  • number and time axes retain their existing D3 tick hint behavior.
  • Omitting tickCount or setting it to at least the category domain length continues to display every label.
  • No migration is required.

Verification

  • Added real D3 point, band, and time scale regression tests, including domain and pixel-position preservation and boundary values.