{"action":"created","issue":{"url":"https://api.github.com/repos/apache/incubator-echarts/issues/9548","repository_url":"https://api.github.com/repos/apache/incubator-echarts","labels_url":"https://api.github.com/repos/apache/incubator-echarts/issues/9548/labels{/name}","comments_url":"https://api.github.com/repos/apache/incubator-echarts/issues/9548/comments","events_url":"https://api.github.com/repos/apache/incubator-echarts/issues/9548/events","html_url":"https://github.com/apache/incubator-echarts/issues/9548","id":388474386,"node_id":"MDU6SXNzdWUzODg0NzQzODY=","number":9548,"title":"echarts下载的时候添加水印","user":{"login":"panda403","id":18700172,"node_id":"MDQ6VXNlcjE4NzAwMTcy","avatar_url":"https://avatars3.githubusercontent.com/u/18700172?v=4","gravatar_id":"","url":"https://api.github.com/users/panda403","html_url":"https://github.com/panda403","followers_url":"https://api.github.com/users/panda403/followers","following_url":"https://api.github.com/users/panda403/following{/other_user}","gists_url":"https://api.github.com/users/panda403/gists{/gist_id}","starred_url":"https://api.github.com/users/panda403/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/panda403/subscriptions","organizations_url":"https://api.github.com/users/panda403/orgs","repos_url":"https://api.github.com/users/panda403/repos","events_url":"https://api.github.com/users/panda403/events{/privacy}","received_events_url":"https://api.github.com/users/panda403/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-07T02:00:05Z","updated_at":"2018-12-11T05:17:00Z","closed_at":null,"author_association":"NONE","body":"echarts作图，想显示的时候没有水印，但是下载的时候添加水印，如何实现"},"comment":{"url":"https://api.github.com/repos/apache/incubator-echarts/issues/comments/446075601","html_url":"https://github.com/apache/incubator-echarts/issues/9548#issuecomment-446075601","issue_url":"https://api.github.com/repos/apache/incubator-echarts/issues/9548","id":446075601,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjA3NTYwMQ==","user":{"login":"Ovilia","id":779050,"node_id":"MDQ6VXNlcjc3OTA1MA==","avatar_url":"https://avatars3.githubusercontent.com/u/779050?v=4","gravatar_id":"","url":"https://api.github.com/users/Ovilia","html_url":"https://github.com/Ovilia","followers_url":"https://api.github.com/users/Ovilia/followers","following_url":"https://api.github.com/users/Ovilia/following{/other_user}","gists_url":"https://api.github.com/users/Ovilia/gists{/gist_id}","starred_url":"https://api.github.com/users/Ovilia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ovilia/subscriptions","organizations_url":"https://api.github.com/users/Ovilia/orgs","repos_url":"https://api.github.com/users/Ovilia/repos","events_url":"https://api.github.com/users/Ovilia/events{/privacy}","received_events_url":"https://api.github.com/users/Ovilia/received_events","type":"User","site_admin":false},"created_at":"2018-12-11T05:17:00Z","updated_at":"2018-12-11T05:17:00Z","author_association":"CONTRIBUTOR","body":"1. Add a custom toolbox feature http://echarts.baidu.com/option.html#toolbox.feature\r\n2. In `onclick`, [get canvas in the form of base64](http://echarts.baidu.com/api.html#echartsInstance.getDataURL)\r\n3. Create a new canvas and use `drawImage` to draw watermark onto the original chart\r\n4. [Export canvas](https://stackoverflow.com/questions/10673122/how-to-save-canvas-as-an-image-with-canvas-todataurl)"}}
{"actor":{"display_login":"Ovilia"}}