ShiyiWei1995 opened a new issue, #18818:
URL: https://github.com/apache/echarts/issues/18818

   ### Version
   
   5.4.2
   
   ### Link to Minimal Reproduction
   
   默认
   
   ### Steps to Reproduce
   
   关键配置:
   ```
   series: [
           {
             type: 'bar',
             data: [10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21],
             xAxisIndex: 0,
             barCategoryGap: '2px',
             stack: 'x',
             itemStyle: {
               color: Colors.black[50],
             },
             emphasis: {
               focus: 'series',
               itemStyle: {
                 color: '#94FF52',
               },
             },
             tooltip: {
               formatter: function (params) {
                 if (params.data) {
                   return (
                     params.seriesName + '<br/>' + params.name + ': ' + 
params.data
                   )
                 }
               },
             },
           },
           {
             type: 'bar',
             data: [30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41],
             xAxisIndex: 0,
             stack: 'x',
             itemStyle: {
               color: Colors.black[50],
             },
             emphasis: {
               focus: 'series',
               itemStyle: {
                 color: '#E776E2',
               },
             },
             tooltip: {
               formatter: function (params) {
                 if (params.data) {
                   return (
                     params.seriesName + '<br/>' + params.name + ': ' + 
params.data
                   )
                 }
               },
             },
           },
           {
             type: 'bar',
             data: [50, 20, 36, 10, 30, 90, 50, 20, 36, 10, 30, 90],
             xAxisIndex: 0,
             stack: 'x',
             itemStyle: {
               color: Colors.black[50],
             },
             emphasis: {
               focus: 'series',
               itemStyle: {
                 color: '#FCFF52',
               },
             },
             tooltip: {
               formatter: function (params) {
                 if (params.data) {
                   return (
                     params.seriesName + '<br/>' + params.name + ': ' + 
params.data
                   )
                 }
               },
             },
           },
         ]
   ```
   
   ### Current Behavior
   
   鼠标停留的 stack bar 使用了高亮颜色,但是同系列其他 stack bar 并没有使用高亮颜色
   
   <img width="1123" alt="截屏2023-06-28 15 59 28" 
src="https://github.com/apache/echarts/assets/102200759/5956aa57-3b7a-4200-ad12-01030360f76f";>
   
   
   ### Expected Behavior
   
   鼠标停留的 stack bar 使用高亮颜色,但是同系列其他 stack bar 也使用高亮颜色
   
   ### Environment
   
   ```markdown
   - OS:macOS Monterey
   - Browser:Chrome 版本 114.0.5735.133(正式版本) (x86_64)
   - Framework: react@18.1.0
   ```
   
   
   ### Any additional comments?
   
   _No response_


-- 
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-unsubscr...@echarts.apache.org.apache.org

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


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

Reply via email to