Fixes and improvements
Alongside the bigger releases, a long list of things that now simply work the way you'd expect.
Charts
- Bar charts handle negative values. The scale always includes zero and bars grow from the zero line in both orientations — profit and loss charts now just work.
- Stacked horizontal bars draw every segment at the right width and grow from their own position instead of overlapping while they animate.
- Line charts morph smoothly when their data changes, rather than snapping to the new values.
- Markers and edge points are no longer clipped at the edge of the plot.
- Ring charts no longer flicker when you hover near the inner edge of a ring.
- Custom
PieCentercontent shows at rest, not only while hovering a slice. - Persian, Arabic and Hebrew labels animate as a single run so letters stay joined and in order, and the date ticker only scrolls the part of the date that changed.
Installing with shadcn
- Charts installed from the registry keep their imports valid in your project's folder layout.
- Theme tokens map correctly into your
@themevariables. - Every chart passes the React Compiler lint rules.