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 2023/01/16 02:25:20 UTC
[GitHub] [echarts] Kanglt opened a new issue, #18176: [Bug]
Kanglt opened a new issue, #18176:
URL: https://github.com/apache/echarts/issues/18176
### Version
5.4.1
### Link to Minimal Reproduction
_No response_
### Steps to Reproduce
var option = {
dataset: [
{
source: [
['Product', 'Sales', 'Price', 'Year'],
['Cake', 123, 32, 2011],
['Dumpling', 341, 25, 2011],
['Biscuit', 122, 29, 2011],
['Tofu', 255, 7, 2012],
['Dumpling', 241, 27, 2012],
['Biscuit', 102, 34, 2012],
['Cake', 153, 28, 2013],
['Dumpling', 281, 31, 2013],
['Biscuit', 92, 39, 2013],
['Cake', 223, 29, 2014],
['Cereal', 211, 17, 2014],
['Tofu', 345, 3, 2014],
]
},
{
source: [
['Product', 'Sales', 'Price', 'Year'],
['Cereal', 231, 14, 2011],
['Tofu', 235, 5, 2011],
['Cake', 143, 30, 2012],
['Cereal', 201, 19, 2012],
['Cereal', 181, 21, 2013],
['Tofu', 395, 4, 2013],
['Dumpling', 211, 35, 2014],
['Biscuit', 72, 24, 2014]
]
},
{
transform: {
type: 'filter',
config: { dimension: 'Year', value: 2011 },
fromDatasetIndex: 1
}
},
{
transform: {
type: 'filter',
config: { dimension: 'Year', value: 2012 }
}
},
{
transform: {
type: 'filter',
config: { dimension: 'Year', value: 2013 }
}
}
],
series: [
{
type: 'pie',
radius: 50,
center: ['25%', '50%'],
datasetIndex: 2
},
{
type: 'pie',
radius: 50,
center: ['50%', '50%'],
datasetIndex: 3
},
{
type: 'pie',
radius: 50,
center: ['75%', '50%'],
datasetIndex: 4
}
]
};
### Current Behavior
使用dataset.transform并且指定fromDatasetIndex,发现无论fromDatasetIndex指定的是什么,都一直指向第一个dataset
### Expected Behavior
应该是fromDatasetIndex设置指向哪个,数据源就使用哪个
### Environment
```markdown
- OS:Windows 10 企业版 21H2
- Browser: Chrome 108.0.5359.126(正式版本) (64 位)
- Framework:
```
### 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
[GitHub] [echarts] echarts-bot[bot] commented on issue #18176: [Bug] dataset.transform并指定fromDatasetIndex无效,始终指向第一个dataset
Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #18176:
URL: https://github.com/apache/echarts/issues/18176#issuecomment-1383375401
@Kanglt 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] dataset.transform and specifying fromDatasetIndex is invalid, it always points to the first dataset
</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
[GitHub] [echarts] Kanglt commented on issue #18176: [Bug] dataset.transform并指定fromDatasetIndex无效,始终指向第一个dataset
Posted by GitBox <gi...@apache.org>.
Kanglt commented on issue #18176:
URL: https://github.com/apache/echarts/issues/18176#issuecomment-1383438644
fromDatasetIndex层级错了,打扰
--
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] Kanglt closed issue #18176: [Bug] dataset.transform并指定fromDatasetIndex无效,始终指向第一个dataset
Posted by GitBox <gi...@apache.org>.
Kanglt closed issue #18176: [Bug] dataset.transform并指定fromDatasetIndex无效,始终指向第一个dataset
URL: https://github.com/apache/echarts/issues/18176
--
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] closed issue #18176: [Bug]
Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] closed issue #18176: [Bug]
URL: https://github.com/apache/echarts/issues/18176
--
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 #18176: [Bug]
Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #18176:
URL: https://github.com/apache/echarts/issues/18176#issuecomment-1383373937
I'm sorry to close this issue for it lacks the necessary title. Please provide **a _descriptive_ and as _concise_ as possible title to describe your problems or requests** and then the maintainers or I will reopen this issue.
Every good bug report or feature request starts with a title. Your issue title is a critical element as it's the first thing maintainers see.
A good issue title makes it easier for maintainers to understand what the issue is, easily locate it, and know what steps they'll need to take to fix it.
Moreover, it's better to include keywords, as this makes it easier to find the issue self and similar issues in searches.
--
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