{"action":"created","issue":{"url":"https://api.github.com/repos/apache/incubator-echarts/issues/9135","repository_url":"https://api.github.com/repos/apache/incubator-echarts","labels_url":"https://api.github.com/repos/apache/incubator-echarts/issues/9135/labels{/name}","comments_url":"https://api.github.com/repos/apache/incubator-echarts/issues/9135/comments","events_url":"https://api.github.com/repos/apache/incubator-echarts/issues/9135/events","html_url":"https://github.com/apache/incubator-echarts/issues/9135","id":363957309,"node_id":"MDU6SXNzdWUzNjM5NTczMDk=","number":9135,"title":"需要在折线图的tooltip面板上显示百分号，感觉有一些问题。","user":{"login":"dickbinge","id":27794570,"node_id":"MDQ6VXNlcjI3Nzk0NTcw","avatar_url":"https://avatars3.githubusercontent.com/u/27794570?v=4","gravatar_id":"","url":"https://api.github.com/users/dickbinge","html_url":"https://github.com/dickbinge","followers_url":"https://api.github.com/users/dickbinge/followers","following_url":"https://api.github.com/users/dickbinge/following{/other_user}","gists_url":"https://api.github.com/users/dickbinge/gists{/gist_id}","starred_url":"https://api.github.com/users/dickbinge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dickbinge/subscriptions","organizations_url":"https://api.github.com/users/dickbinge/orgs","repos_url":"https://api.github.com/users/dickbinge/repos","events_url":"https://api.github.com/users/dickbinge/events{/privacy}","received_events_url":"https://api.github.com/users/dickbinge/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-26T10:23:48Z","updated_at":"2018-09-27T16:00:27Z","closed_at":null,"author_association":"NONE","body":"\r\n期望的结果图：\r\n\r\n结果图：\r\n\r\n\r\n### One-line summary [问题简述]\r\n如下图所示，我需要在这个柱状折线图的tooltip上显示数据，但是第三列异常率需要显示百分号，于是我用formatter:\"{b0}<br />{a0}: {c0}<br />{a1}: {c1}<br />{a2}: {c2}%\", 第三列数据的百分号出现了，但是点击上方的legend 出现如下的问题。第三列依然存在，且是这样的。\r\n\r\n\r\n\r\n\r\n### Version & Environment [版本及环境]\r\n+ ECharts version [ECharts 版本]:\r\n+ Browser version [浏览器类型和版本]:\r\n+ OS Version [操作系统类型和版本]:\r\n\r\n\r\n\r\n\r\n\r\n### Expected behaviour [期望结果]\r\n![image](https://user-images.githubusercontent.com/27794570/46073803-7f60e580-c1b8-11e8-82d5-9dec82837e30.png)\r\n\r\n###目前的结果：\r\n![image](https://user-images.githubusercontent.com/27794570/46073983-f1d1c580-c1b8-11e8-9422-acda6639168f.png)\r\n\r\n\r\n\r\n### ECharts option [ECharts配置项]\r\n<!-- Copy and paste your 'echarts option' here. -->\r\n<!-- [下方贴你的option，注意不要删掉下方 ```javascript 和 尾部的 ``` 字样。最好是我们能够直接运行的 option。如何得到能运行的 option 参见上方的 guidelines for contributing] -->\r\n```javascript\r\noption = {\r\n       tooltip={\r\n                show:true,\r\n                trigger: 'axis',\r\n                axisPointer: {\r\n                    type: 'shadow',\r\n                },\r\n                formatter:\"{b0}<br />{a0}: {c0}<br />{a1}: {c1}<br />{a2}: {c2}%\",\r\n                textStyle:{\r\n                    align:'left',\r\n        },\r\n}\r\n\r\n```\r\n\r\n\r\n\r\n\r\n### Other comments [其他信息]\r\n<!-- For example: Screenshot or Online demo -->\r\n<!-- [例如，截图或线上实例 (JSFiddle/JSBin/Codepen)] -->\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apache/incubator-echarts/issues/comments/425148226","html_url":"https://github.com/apache/incubator-echarts/issues/9135#issuecomment-425148226","issue_url":"https://api.github.com/repos/apache/incubator-echarts/issues/9135","id":425148226,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTE0ODIyNg==","user":{"login":"pissang","id":841551,"node_id":"MDQ6VXNlcjg0MTU1MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/841551?v=4","gravatar_id":"","url":"https://api.github.com/users/pissang","html_url":"https://github.com/pissang","followers_url":"https://api.github.com/users/pissang/followers","following_url":"https://api.github.com/users/pissang/following{/other_user}","gists_url":"https://api.github.com/users/pissang/gists{/gist_id}","starred_url":"https://api.github.com/users/pissang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pissang/subscriptions","organizations_url":"https://api.github.com/users/pissang/orgs","repos_url":"https://api.github.com/users/pissang/repos","events_url":"https://api.github.com/users/pissang/events{/privacy}","received_events_url":"https://api.github.com/users/pissang/received_events","type":"User","site_admin":false},"created_at":"2018-09-27T16:00:27Z","updated_at":"2018-09-27T16:00:27Z","author_association":"CONTRIBUTOR","body":"是不是只有两个系列..."}}
{"actor":{"display_login":"pissang"}}