-
Notifications
You must be signed in to change notification settings - Fork 19.8k
The returned value of pieselectchange missing attribute 'seriesId' #9830
Copy link
Copy link
Closed
Closed
Copy link
Labels
Milestone
Description
General Questions
I tried to get Pie's seriesId with pieselectchange funciton while Pie's data is more than two, howerer, I suppose the result is
{
type: 'pieselected',
// 系列 ID,可以在 option 中传入
seriesId: string
// 数据名称
name: name,
// 所有数据的选中状态表。
selected: Object
}
but I get only
{
type: 'pieselected',
// 数据名称
name: name,
// 所有数据的选中状态表。
selected: Object
}
And my series data is
series: [
{
name: 'A',
id: '123',
center: [90, '101px'],
radius: [0, '80px'],
data: [
{ name: 'A1', value: 30 },
{ name: 'A2', value: 60 },
{ name: 'A3', value: 90 }
]
},
{
name: 'B',
id: '12',
center: [298, '101px'],
radius: [0, '80px'],
data: [
{ name: 'A1', value: 30 },
{ name: 'A2', value: 60 },
{ name: 'A3', value: 90 }
]
}
]
Issue Type
- I have a question to ask about how to use ECharts to ...;我想提问如何使用 ECharts 实现某功能
- I have a bug to report;我想要报 bug
- I have a feature to request, e.g.: I'd like a new feature that ...;我需要一个新功能
- I have a feature to enhance, e.g.: The current feature should be improved in the way that ...;我希望改进某个功能
- There's something wrong with the documents;文档有些问题
- Others, or I'm not sure which issue types to choose here;其他,或我不知道应该选什么类型
Issue Details
The result of pieselectchange function missing seriesId params
Expected Behavior
As document's result
{
type: 'pieselected',
// 系列 ID,可以在 option 中传入
seriesId: string
// 数据名称
name: name,
// 所有数据的选中状态表。
selected: Object
}
Current Behavior
Missing seriesId
{
type: 'pieselected',
// 数据名称
name: name,
// 所有数据的选中状态表。
selected: Object
}
Online Example
Topics
Anything Else We Need to Know
Environment
Vue + vue-echarts + echarts
-
ECharts version;ECharts 版本: { 4.x }
-
It happens only on certain browsers or operating systems. 对于特定浏览器或操作系统才会出现的问题,请提供相应环境信息:{BROWSER_VERSION_OR_OS_INFORMATION_HERE}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Fields
Give feedbackNo fields configured for issues without a type.