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
fix(webapp): apply width-aware x-axis thinning to categorical bar charts
The useMeasure ref was attached only to the line/area return path, so bar
charts measured a width of 0 and never produced evenly-spaced x-axis ticks
(and, because the categorical axis sets an angle, Chart.Bar's own
useXAxisTicks was disabled too) — falling back to Recharts' default label
spacing. Wrap the bar return in the same measuring div so categorical bar
charts get the intended even-spaced label thinning.
0 commit comments