thomaspessato commented on issue #8160: Highlighting the clicked month
URL: 
https://github.com/apache/incubator-echarts/issues/8160#issuecomment-392818151
 
 
   @vikramkalta I managed to change label style after click, for example:
   
   ```javascript
   this.chart.on('click', (params) => {
       params.event.target.style.fontWeight = "bold";
       params.event.target.style.textFill = "#000";
   })
   ```
   
   This related to the point clicked... but would be nice if we on click, since 
this doesnt change data, just label / point / area style.
   
   I saw that people were using setOption() for this... but don't know how to 
do this, exactly :/

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to