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
Unable to customize tooltip names in DualAxes chart component from ant-design-charts. Both array and function approaches in the tooltip configuration are not working as expected. While the value and color properties work correctly, the custom name property is not being applied to the tooltip display.
📷 复现步骤 [清晰描述复现步骤,让别人也能看到问题]
Create a DualAxes chart with two line series
Try to customize tooltip names using either:
Function approach: tooltip: () => ({name: "test", value: 123})
🐛 bug 描述 [详细地描述 bug,让大家都能理解]
Unable to customize tooltip names in DualAxes chart component from ant-design-charts. Both array and function approaches in the
tooltip
configuration are not working as expected. While the value and color properties work correctly, the custom name property is not being applied to the tooltip display.📷 复现步骤 [清晰描述复现步骤,让别人也能看到问题]
tooltip: () => ({name: "test", value: 123})
tooltip: [{name: 'aaaa', color: "red"}]
🏞 期望结果 [描述你原本期望看到的结果]
💻 复现代码 [提供可复现的代码,仓库,或线上示例]
© 版本信息
🚑 其他信息 [如截图等其他信息可以贴在这里]
The text was updated successfully, but these errors were encountered: