You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2020/03/25 09:03:33 UTC

[GitHub] [incubator-echarts] yanwencheng opened a new issue #12329: 自定义toolbox点中状态,再次点击去掉状态

yanwencheng opened a new issue #12329: 自定义toolbox点中状态,再次点击去掉状态
URL: https://github.com/apache/incubator-echarts/issues/12329
 
 
   ### What problem does this feature solve?
   自定义一个toolbox工具
   myTool2: {
                                   show: true,
                                   title: '自定义扩展方法',
                                   icon: this_.realRefreshIcon[this_.realRefresh],
                                   onclick: function (ecModel, api, type){
                                       console.log(
                                           ecModel, api, type
                                       )
   
                                   }
                               },
   点击后保持点中状态怎么处理?
   
   ### What does the proposed API look like?
   能改显示点中后状态,再次点击失去状态,
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] yanwencheng commented on issue #12329: 自定义toolbox点中状态,再次点击去掉状态

Posted by GitBox <gi...@apache.org>.
yanwencheng commented on issue #12329: 自定义toolbox点中状态,再次点击去掉状态
URL: https://github.com/apache/incubator-echarts/issues/12329#issuecomment-604848111
 
 
   > setOption
   
   是的,我使用echart.setOption({
                           toolbox: {
                               feature: {
                                   myReal: {
                                       iconStyle: {
                                           borderColor: '#337ab7'
                                       }
   
                                   }
                               }
                           }
                       })

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] Ovilia commented on issue #12329: 自定义toolbox点中状态,再次点击去掉状态

Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #12329: 自定义toolbox点中状态,再次点击去掉状态
URL: https://github.com/apache/incubator-echarts/issues/12329#issuecomment-604839866
 
 
   在你的业务逻辑中记录下这个状态,然后通过 setOption 改变样式

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] yanwencheng closed issue #12329: 自定义toolbox点中状态,再次点击去掉状态

Posted by GitBox <gi...@apache.org>.
yanwencheng closed issue #12329: 自定义toolbox点中状态,再次点击去掉状态
URL: https://github.com/apache/incubator-echarts/issues/12329
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #12329: 自定义toolbox点中状态,再次点击去掉状态

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #12329: 自定义toolbox点中状态,再次点击去掉状态
URL: https://github.com/apache/incubator-echarts/issues/12329#issuecomment-603724742
 
 
   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical questions.
   
   If you are interested in the project, you may also subscribe our [mail list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org