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/02/12 10:50:47 UTC

[GitHub] [echarts] AmitBisht14 opened a new issue #14264: Show/hide MarkArea from echarts configuration

AmitBisht14 opened a new issue #14264:
URL: https://github.com/apache/echarts/issues/14264


   ### Version
   5.0.2
   
   ### Steps to reproduce
   Is there any way to show/hide markArea of echart, such that if set True Chart will show markArea for whole chart for all series and vice-versa. Similar thing is happening for series show/hide from legend a user can show/hide, One way around is to do it with opacity but I feel there must be something more prominent
   
   ### What is expected?
   There should be a option to show hide markArea
   
   ### What is actually happening?
   No Option present in eChart
   
   <!-- 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.

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] AmitBisht14 commented on issue #14264: Show/hide MarkArea from echarts configuration

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


   @plainheart yes this is the way but it is specific for a single series. What expected is to have a option which get applied for all the series


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



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


[GitHub] [echarts] plainheart commented on issue #14264: Show/hide MarkArea from echarts configuration

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


   In fact, we can control the visibility of each specific series in a common function. The requirement is to specify an `id` or `name` for each series. But it may look a bit complex.
   
   Just like this, https://www.makeapie.com/editor.html?c=xmjU8U_2bN&v=1
   
   


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



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


[GitHub] [echarts] AmitBisht14 commented on issue #14264: Show/hide MarkArea from echarts configuration

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


   > In fact, we can control the visibility of each specific series in a common function. The requirement is to specify an `id` or `name` for each series. But it may look a bit complex.
   > 
   > Just like this, https://www.makeapie.com/editor.html?c=xmjU8U_2bN&v=2
   
   @plainheart  the link is not working


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



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


[GitHub] [echarts] plainheart commented on issue #14264: Show/hide MarkArea from echarts configuration

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


   Perhaps, you could try to set it as follows,
   ```js
   chart.setOption({
       series: [{
           markArea: {
               // set markArea to be an empty array if invisible
               data: visible ? markAreaData : []
           }
       }]
   })
   ```


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



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


[GitHub] [echarts] plainheart edited a comment on issue #14264: Show/hide MarkArea from echarts configuration

Posted by GitBox <gi...@apache.org>.
plainheart edited a comment on issue #14264:
URL: https://github.com/apache/echarts/issues/14264#issuecomment-780448357


   In fact, we can control the visibility of each specific series in a common function. The requirement is to specify an `id` or `name` for each series. But it may look a bit complex.
   
   Just like this, https://www.makeapie.com/editor.html?c=xmjU8U_2bN&v=2
   
   


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



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


[GitHub] [echarts] AmitBisht14 commented on issue #14264: Show/hide MarkArea from echarts configuration

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


   @plainheart not able to access the link, it is not reachable 


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



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


[GitHub] [echarts] plainheart commented on issue #14264: Show/hide MarkArea from echarts configuration

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


   @AmitBisht14 Do you mean the link can't be opened or can't solve your requirement?


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



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


[GitHub] [echarts] plainheart commented on issue #14264: Show/hide MarkArea from echarts configuration

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


   @AmitBisht14 Hi, I moved it to CodePen, here is the new link: https://codepen.io/plainheart/pen/jOBOmrE


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



---------------------------------------------------------------------
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 #14264: Show/hide MarkArea from echarts configuration

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


   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 question.
   
   If you are interested in the project, you may also subscribe 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.

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