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/03/23 09:23:44 UTC

[GitHub] [echarts] fezhangyao opened a new issue #14519: In the highlight action, if the type of "seriesName" is set to array, only one series will be highlighted

fezhangyao opened a new issue #14519:
URL: https://github.com/apache/echarts/issues/14519


   ### Version
   5.0.2
   
   ### Steps to reproduce
   create a line chart , set series.emphasis.focus to "self" ,  trigger highlight action , Incoming parameters "seriesName" is array and there are two items , but only one series will be highlighted
   
   ### What is expected?
   two series will be highlighted
   
   ### What is actually happening?
   only one series will be highlighted
   
   <!-- 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] susiwen8 commented on issue #14519: In the highlight action, if the type of "seriesName" is set to array, only one series will be highlighted

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


   ```js
   option = {
       xAxis: {
           type: 'category',
           data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
       },
       yAxis: {
           type: 'value'
       },
       series: [{
           name: 'line-1',
           data: [820, 932, 901, 934, 1290, 1330, 1320],
           type: 'line',
           smooth: true
       },{
           name: 'line-2',
           data: [930, 1042, 1011, 1034, 1390, 1430, 1420],
           type: 'line',
           smooth: true
       }]
   };
   
   
   setTimeout(function() {
       myChart.dispatchAction({
            type: 'highlight',
           seriesName: ['line-1', 'line-2'],
       }
   );
       
   }, 2000);
   ```
   
   Can't reproduce.


-- 
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] fezhangyao removed a comment on issue #14519: In the highlight action, if the type of "seriesName" is set to array, only one series will be highlighted

Posted by GitBox <gi...@apache.org>.
fezhangyao removed a comment on issue #14519:
URL: https://github.com/apache/echarts/issues/14519#issuecomment-808637695


   <iframe src="https://codesandbox.io/embed/festive-murdock-weydf?fontsize=14&hidenavigation=1&theme=dark"
        style="width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;"
        title="festive-murdock-weydf"
        allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"
        sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
      ></iframe>


-- 
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] fezhangyao commented on issue #14519: In the highlight action, if the type of "seriesName" is set to array, only one series will be highlighted

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


   https://codesandbox.io/s/festive-murdock-weydf?from-embed


-- 
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] fezhangyao commented on issue #14519: In the highlight action, if the type of "seriesName" is set to array, only one series will be highlighted

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


   > Right now, you can't, We will look into it
   
   


-- 
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] fezhangyao commented on issue #14519: In the highlight action, if the type of "seriesName" is set to array, only one series will be highlighted

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


   > @fezhangyao Please provide a demo for the issue either with https://codepen.io/Ovilia/pen/dyYWXWM , https://www.makeapie.com/editor.html or https://codesandbox.io/s/mystifying-bash-2uthz.
   
   https://codesandbox.io/s/festive-murdock-weydf?from-embed


-- 
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] fezhangyao removed a comment on issue #14519: In the highlight action, if the type of "seriesName" is set to array, only one series will be highlighted

Posted by GitBox <gi...@apache.org>.
fezhangyao removed a comment on issue #14519:
URL: https://github.com/apache/echarts/issues/14519#issuecomment-809862701


   > Right now, you can't, We will look into it
   
   


-- 
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] fezhangyao commented on issue #14519: In the highlight action, if the type of "seriesName" is set to array, only one series will be highlighted

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


   > > Right now, you can't, We will look into it
   > 
   > I do it in other ways now, set emphasis: {focus: 'self'}, set the highlight style to transparent, highlight unselected series to achieve the effect
   
   demo: https://codesandbox.io/s/awesome-sun-ey7f9?file=/src/index.js


-- 
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] fezhangyao commented on issue #14519: In the highlight action, if the type of "seriesName" is set to array, only one series will be highlighted

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


   > Right now, you can't, We will look into it
   
   I do it in other ways now, set emphasis: {focus: 'self'}, set the highlight style to transparent, highlight unselected series to achieve the effect


-- 
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] susiwen8 commented on issue #14519: In the highlight action, if the type of "seriesName" is set to array, only one series will be highlighted

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


   Looks like `emphasis: {focuse: 'series' | 'self'}` will cause it.


-- 
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] fezhangyao commented on issue #14519: In the highlight action, if the type of "seriesName" is set to array, only one series will be highlighted

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


   > focuse
   
   How can I highlight two series at the same time and make other series transparent


-- 
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] fezhangyao commented on issue #14519: In the highlight action, if the type of "seriesName" is set to array, only one series will be highlighted

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


   <iframe src="https://codesandbox.io/embed/festive-murdock-weydf?fontsize=14&hidenavigation=1&theme=dark"
        style="width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;"
        title="festive-murdock-weydf"
        allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"
        sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
      ></iframe>


-- 
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] fezhangyao closed issue #14519: In the highlight action, if the type of "seriesName" is set to array, only one series will be highlighted

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


   


-- 
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 #14519: In the highlight action, if the type of "seriesName" is set to array, only one series will be highlighted

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


   @fezhangyao Please provide a demo for the issue either with https://codepen.io/Ovilia/pen/dyYWXWM , https://www.makeapie.com/editor.html or https://codesandbox.io/s/mystifying-bash-2uthz.


-- 
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 #14519: In the highlight action, if the type of "seriesName" is set to array, only one series will be highlighted

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


   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


[GitHub] [echarts] fezhangyao removed a comment on issue #14519: In the highlight action, if the type of "seriesName" is set to array, only one series will be highlighted

Posted by GitBox <gi...@apache.org>.
fezhangyao removed a comment on issue #14519:
URL: https://github.com/apache/echarts/issues/14519#issuecomment-808683098






-- 
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] susiwen8 commented on issue #14519: In the highlight action, if the type of "seriesName" is set to array, only one series will be highlighted

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


   Right now, you can't, We  will look into it


-- 
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] fezhangyao commented on issue #14519: In the highlight action, if the type of "seriesName" is set to array, only one series will be highlighted

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


   > @fezhangyao Please provide a demo for the issue either with https://codepen.io/Ovilia/pen/dyYWXWM , https://www.makeapie.com/editor.html or https://codesandbox.io/s/mystifying-bash-2uthz.
   
   https://codesandbox.io/s/awesome-sun-ey7f9?file=/src/index.js


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