Recharts 3.7.0 发布,React 和 D3 构建的图表库
Recharts 3.7.0 现已发布。Cell已被弃用,将在下一个主要版本中移除。建议将所有Cellusage 迁移到相应图表元素的shapeprop。 具体更新内容包括: Feat New Hooks useIsTooltipActive:返回提示框是否处于活动状态#6880 useActiveTooltipCoordinate:返回当前tooltip coordinate#6880 Other Tooltip:允许offsetprop 接受 Coordinate 对象#6868 X/YAxis中添加新的 axis type: "auto"#6823 将 categorical axes 设置为“categor”,将数值轴的类型设置为“number”。 X/YAxis:替换tick: any为显式类型#6911 Bar/TypeScript:添加BarShapeProps类型以修复Bar.shape类型#6900 TypeScript:为shape和content函数等添加缺失的 useful type exports#6852 Fix BarChart:修复单个序列中包含 3 个...


