You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "4bbada (via GitHub)" <gi...@apache.org> on 2023/03/21 01:52:41 UTC

[GitHub] [echarts] 4bbada opened a new issue, #18403: [Feature] emphasis Added detailed iconStyle settings according to mouse motion.

4bbada opened a new issue, #18403:
URL: https://github.com/apache/echarts/issues/18403

   ### What problem does this feature solve?
   
   Is it possible to set the color of mouse hover and click separately in the following options?
   If not, I thought
   
   ### What does the proposed API look like?
   
    iconStyle: {  
                      emphasis: {
                                   hover:{ borderColor: 'red'}
                                   onClick:{borderColor: 'blue'}
                               }
                    },


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [echarts] helgasoft commented on issue #18403: [Feature] emphasis Added detailed iconStyle settings according to mouse motion.

Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #18403:
URL: https://github.com/apache/echarts/issues/18403#issuecomment-1478252469

   yes, possible - hover=_emphasis_ and click=_select_ 
   [Demo code](https://echarts.apache.org/examples/en/editor.html?c=bar-simple&code=PYBwLglsB2AEC8sDeAoWsAeBBDEDOAXMmurGAJ4gCmRA5AMYCGYVA5sAE7m0A0J6AE2aMiAbVoBZGL1i0AKgFcqM2gHUqAlXIAWClQDEOEFQGVmphdFoBdEgF8-6cjnxFUpMpRqyAbowA2SrT2jrB4VEZUhLCi_MQegsJiAIwATAAMPLAZmbDJAKy5ABy5AOy5yckVAMzp1qEeFNR0AEaMHLxx6FQAtiDajHiuyBAsPSYU_t5ILZwCEQDCwP6cdBwaMrMc8xyqEAJg2kQAnHYOXWFUU_QsAlLzdEPQrFOdCZfXYG6jvRPkU24tjslisOK1AsoskCInsDkdYMcsvRlqtZKx1lQrGc4nYSLY7ABuFAAemJZGAsHW4TAsEYADMWBxYPR_BB6ABrWAQOmweZDdYCEkAKhQPXICwGHDAADoYAAKWg9YAKcLKsAyOUASgQAD54rAxRL2jKBPgQMx6NosDcoNA5UgmjRaGBgKwXlQTFcqDcZOFIngAJLQeYYAjpOyalARlBC4lAA)


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [echarts] helgasoft commented on issue #18403: [Feature] emphasis Added detailed iconStyle settings according to mouse motion.

Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #18403:
URL: https://github.com/apache/echarts/issues/18403#issuecomment-1485543856

   Why not set a toggle variable then?  [Demo Code](https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=PYBwLglsB2AEC8sDeBYAULWZjADYCNgAPALiQDMBTAQzAFcAnSspgZ2ybPU01YAtgAdxJgGdSgBpY3HhADGMAMpgAnrmbJCDACaUGAYTzAGJAOT5c1OQGtTAXwkzMlALYg-1VhFYlk8parqvkhaugZGJqZM2vZ2MnYJjhiwRACCRN6-ANqoyZiqIBoARHK0lADmxipFSTyw2rTU2UUAsjA1sEUAKuIdRQDqlNp9XXx0fQBiDBB9irSzdNBFALrxy7WwKumZsDkFxQBu1Li9dusyrHoQlD67uXX7vkX41Aw1TvWN2QCMAAxSAFYAExSIG_f6wADMkIALFJIQBOCHQiFAsHnZJndBxNBgcq4BCwcjHS4AbnQLhU-g8DDAADoYAAKKI3DiUUxSRkASgQAD5kDI8QTEABCIXk5JyXAMQlC2AAflgpnKTEo0FMsF85ksNlMEswlOpr3plzAAHlwFBoIz7jxsHhCKQKDR6JwkGw2Vw8rIFNBlGoNCFjGFDLhjL4pQwcXUEtHYHYuRKE6SgA)
   
   NB: please close issue if problem solved.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [echarts] 4bbada commented on issue #18403: [Feature] emphasis Added detailed iconStyle settings according to mouse motion.

Posted by "4bbada (via GitHub)" <gi...@apache.org>.
4bbada commented on issue #18403:
URL: https://github.com/apache/echarts/issues/18403#issuecomment-1486244836

   Thank you so much for your help. Solved.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [echarts] 4bbada commented on issue #18403: [Feature] emphasis Added detailed iconStyle settings according to mouse motion.

Posted by "4bbada (via GitHub)" <gi...@apache.org>.
4bbada commented on issue #18403:
URL: https://github.com/apache/echarts/issues/18403#issuecomment-1484598712

   It does not go back to its original state when clicked again(default off).
   At first it was off, but after clicking it changed to 'on' color.
   I want to separate 'on&off' color and 'hover' color.
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [echarts] helgasoft commented on issue #18403: [Feature] emphasis Added detailed iconStyle settings according to mouse motion.

Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #18403:
URL: https://github.com/apache/echarts/issues/18403#issuecomment-1481523895

   yes, possible, hover by declaration, click on event.
   [Demo Code](https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=PYBwLglsB2AEC8sDeBYAULWZjADYCNgAPALiQDMBTAQzAFcAnSspgZ2ybPU01YAtgAdxJgGdSgBpY3HpQC2IPtVYRWJZBADGMAMpgAnrmbJCDACaUGAYTzAGJAORMzDgL6uZ71xJlEAgkSq6gDaqBg8BiDGAESatJQA5nb60T7hmGa01CHRALIwqbDRACrihdEA6pRm5cV8dOUAYgwQ5Tq0bXTQ0QC6nj1pmPoBQbChkTEAbtS4Za4DMqyWEJRqY2E8WPpR6tH41AypMhlZIQCMAAxSAKwATFK3F1ewAMwvACxSLwCcz2_Pt0efXC83QHjQcn0ViUDDAADoYAAKJyrDiUBxSREASgQAD5kDJIdCDvClmAAPLgKDQREbCI4AjEMhUWiMZhINhorjpHhaXQGIzqJCmCzWWz2BwJJiUaBuY6wLyeLEAbjBKqAA)


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [echarts] 4bbada closed issue #18403: [Feature] emphasis Added detailed iconStyle settings according to mouse motion.

Posted by "4bbada (via GitHub)" <gi...@apache.org>.
4bbada closed issue #18403: [Feature] emphasis Added detailed iconStyle settings according to mouse motion.
URL: https://github.com/apache/echarts/issues/18403


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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