You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2019/01/09 07:00:47 UTC

[GitHub] skytkcn opened a new issue #9718: symbol自定义图片后点击图例进行显示隐藏后自定义的图片不显示

skytkcn opened a new issue #9718: symbol自定义图片后点击图例进行显示隐藏后自定义的图片不显示
URL: https://github.com/apache/incubator-echarts/issues/9718
 
 
   使用symbol进行自定义拐点图片时,添加图例后试用图例控制折线图的显示隐藏后,在第一次显示自定义图片后,后面不再显示
   `option = {
           tooltip : {
               trigger: 'axis',
           },
           legend: {
               data:['邮件营销']
           },
           xAxis: {
               type: 'category',
               data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
           },
           yAxis: {
               type: 'value'
           },
           series: [{
               name:'邮件营销',
               data: [120, 200, 150, 80, 70, 110, 130],
               type: 'line',
               symbol: 'image://https://www.skytk.cn/wp-content/uploads/2018/06/fac.png',
               symbolSize: 20,
               lineStyle: {
                   normal: {
                       color: 'green',
                       width: 4,
                       type: 'dashed'
                   }
               },
               itemStyle: {
                   normal: {
                       borderWidth: 3,
                       borderColor: 'yellow',
                       color: 'blue'
                   }
               }
           }]
       };`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org