Version
5+
Link to Minimal Reproduction
- No response*
Steps to Reproduce
1.官方示例'基础柱状图',
2.修改tooltip,formatter自定义显示
3.其中一个类型修改为俄语
Current Behavior
俄语,波斯语时自定义tooltip二者顺序相反
Expected Behavior
与其它语言例如中文,英文表现一致
Environment
- OS:
- Browser:
- Framework:
Any additional comments?
- No response*
2条答案
按热度按时间ss2ws0br1#
@anyanyan07 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
[Bug] When the category is Russian, the tooltip custom formatter, name and value positions are reversed
BODY
Version
5+
Link to Minimal Reproduction
Steps to Reproduce
Current Behavior
Russian, Persian when custom tooltip both in reverse order
Expected Behavior
Consistent with other languages such as Chinese, English is consistent
Environment
Any additional comments?
bfhwhh0e2#
你自定义了 tooltip 的 formatter 并且返回了 HTML 字符串,这看起来是 HTML 的渲染行为,并不是 ECharts 能决定的。有些语言习惯可能是 rtl,浏览器会自动调整文字顺序。