You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "ShiyiWei1995 (via GitHub)" <gi...@apache.org> on 2023/06/28 08:44:50 UTC
[GitHub] [echarts] ShiyiWei1995 opened a new issue, #18818: [Bug] series.bar.emphasis.itemStyle.color 在同系列 stack bars 高亮状态下不起作用
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-unsubscribe@echarts.apache.org.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
Re: [I] [Bug] series.bar.emphasis.itemStyle.color 在同系列 stack bars 高亮状态下不起作用 [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #18818:
URL: https://github.com/apache/echarts/issues/18818#issuecomment-3017121392
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.
--
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] ulee19 commented on issue #18818: [Bug] series.bar.emphasis.itemStyle.color 在同系列 stack bars 高亮状态下不起作用
Posted by "ulee19 (via GitHub)" <gi...@apache.org>.
ulee19 commented on issue #18818:
URL: https://github.com/apache/echarts/issues/18818#issuecomment-1613952892
你是怎么不加Link to Minimal Reproduction发出bug issue的?
--
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 #18818: [Bug] series.bar.emphasis.itemStyle.color 在同系列 stack bars 高亮状态下不起作用
Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
echarts-bot[bot] commented on issue #18818:
URL: https://github.com/apache/echarts/issues/18818#issuecomment-1611011844
@ShiyiWei1995 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
<details><summary><b>TRANSLATED</b></summary><br>
**TITLE**
[Bug] series.bar.emphasis.itemStyle.color does not work when the stack bars of the same series are highlighted
</details>
--
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
Re: [I] [Bug] series.bar.emphasis.itemStyle.color 在同系列 stack bars 高亮状态下不起作用 [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #18818: [Bug] series.bar.emphasis.itemStyle.color 在同系列 stack bars 高亮状态下不起作用
URL: https://github.com/apache/echarts/issues/18818
--
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] ShiyiWei1995 commented on issue #18818: [Bug] series.bar.emphasis.itemStyle.color 在同系列 stack bars 高亮状态下不起作用
Posted by "ShiyiWei1995 (via GitHub)" <gi...@apache.org>.
ShiyiWei1995 commented on issue #18818:
URL: https://github.com/apache/echarts/issues/18818#issuecomment-1613994818
> 你是怎么不加Link to Minimal Reproduction发出bug issue的?
填的 "默认" 两个字符,我看不少人这么做的哇😂
--
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
Re: [I] [Bug] series.bar.emphasis.itemStyle.color 在同系列 stack bars 高亮状态下不起作用 [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #18818:
URL: https://github.com/apache/echarts/issues/18818#issuecomment-3046519482
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!
--
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