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 2021/10/07 16:49:46 UTC

[GitHub] [echarts] robshep opened a new issue #15834: Click event on series with area should trigger component event

robshep opened a new issue #15834:
URL: https://github.com/apache/echarts/issues/15834


   ### What problem does this feature solve?
   Currently only clicking on exact points of a series results in an event being triggered.
   When the series has area shading it should trigger a component event for the series also. 
   
   Example the current status with the following:
   
   ````
   var container = document.getElementById('main');
   var chart = echarts.init(container);
   chart.setOption({
     xAxis: {
       data: ['A', 'B', 'C']
     },
     yAxis: {
       
     },
     series: [{
       type: 'line',
       areaStyle: {},
       data: [120, 200, 150]
     }]
   });
   
   chart.on('click', function(params){
     alert('clicked')
   })
   ````
   
   ### What does the proposed API look like?
   ````
   areaStyle: {
       triggerEvent: true
   }
   ````
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. 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.

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] robshep commented on issue #15834: Click event on series with area should trigger component event

Posted by GitBox <gi...@apache.org>.
robshep commented on issue #15834:
URL: https://github.com/apache/echarts/issues/15834#issuecomment-938472097


   Clicking on a series area or line not working as desired in echarts-nightly@5.2.2-dev.20211007
   
   https://codepen.io/robshep/pen/MWvgvRJ
   
   


-- 
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] pissang closed issue #15834: Click event on series with area should trigger component event

Posted by GitBox <gi...@apache.org>.
pissang closed issue #15834:
URL: https://github.com/apache/echarts/issues/15834


   


-- 
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] robshep commented on issue #15834: Click event on series with area should trigger component event

Posted by GitBox <gi...@apache.org>.
robshep commented on issue #15834:
URL: https://github.com/apache/echarts/issues/15834#issuecomment-938623700


   I'm sorry - I didn't realise this had been merged into `:next` not the master 
   
   I can confirm this feature is present & working in `echarts-nightly@5.3.1-dev.20211008` 
   
   Thank you
   
   


-- 
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] echarts-bot[bot] commented on issue #15834: Click event on series with area should trigger component event

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #15834:
URL: https://github.com/apache/echarts/issues/15834#issuecomment-937975461


   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 it contains **a minimum reproducible demo** and necessary **images** to illustrate. Otherwise, our committers will ask you to do so.
   
   *A minimum reproducible demo* should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster.
   
   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 question.
   
   If you are interested in the project, you may also subscribe to our [mailing 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.

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] echarts-bot[bot] commented on issue #15834: Click event on series with area should trigger component event

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #15834:
URL: https://github.com/apache/echarts/issues/15834#issuecomment-937975461


   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 it contains **a minimum reproducible demo** and necessary **images** to illustrate. Otherwise, our committers will ask you to do so.
   
   *A minimum reproducible demo* should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster.
   
   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 question.
   
   If you are interested in the project, you may also subscribe to our [mailing 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.

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] Ovilia closed issue #15834: Click event on series with area should trigger component event

Posted by GitBox <gi...@apache.org>.
Ovilia closed issue #15834:
URL: https://github.com/apache/echarts/issues/15834


   


-- 
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] Ovilia commented on issue #15834: Click event on series with area should trigger component event

Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #15834:
URL: https://github.com/apache/echarts/issues/15834#issuecomment-938356221


   Fixed in #15535 which is to be released in 5.3.0.


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