echarts [折线图Y轴进行自定义转换后tooltip不随着最新的label转换吗?]

tyg4sfes  于 2022-10-20  发布在  Echarts
关注(0)|答案(3)|浏览(257)

What problem does this feature solve?

What does the proposed API look like?

希望tooltip和yAxis联动

kmynzznz

kmynzznz1#

@Miever1 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗

TRANSLATED

TITLE

[Line chart Y axis after custom conversion of tooltip does not follow the latest label conversion?] ]

gijlo24d

gijlo24d2#

tooltip 显示的是数据原始值,跟 Y 轴没关系,可以用 valueFormatter 做和 axisLabel 同样的转换。

oxf4rvwz

oxf4rvwz3#

valueFormatter

感觉不是很合理,这种联动感觉是图表基本的功能,Y轴都改变了,tooltip这个原始值也没啥作用了吧

相关问题