-
Notifications
You must be signed in to change notification settings - Fork 19.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can not find dimIndex in radar.label.formatter #10403
Closed
chenzhiwei199 opened this issue
May 6, 2019
· 2 comments
· Fixed by #10437, OpenTMI/opentmi-default-gui#32 or DeviaVir/zenbot#2011 · May be fixed by dyna-dot/iClient-JavaScript-s#1
Closed
can not find dimIndex in radar.label.formatter #10403
chenzhiwei199 opened this issue
May 6, 2019
· 2 comments
· Fixed by #10437, OpenTMI/opentmi-default-gui#32 or DeviaVir/zenbot#2011 · May be fixed by dyna-dot/iClient-JavaScript-s#1
Labels
Comments
Hi! We've received your issue and please be patient to get responded. 🎉 In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer. Have a nice day! 🍵 |
echarts-bot
bot
added
bug
pending
We are not sure about whether this is a bug/new feature.
waiting-for-help
labels
May 6, 2019
chenzhiwei199
changed the title
can not find dimIndex in formatter fo radar.label
can not find dimIndex in radar.label.formatter
May 6, 2019
Ovilia
added
enhancement
and removed
bug
pending
We are not sure about whether this is a bug/new feature.
waiting-for-help
labels
May 7, 2019
Is this used in option = {
tooltip: {},
legend: {
data: ['预算分配(Allocated Budget)', '实际开销(Actual Spending)']
},
radar: {
// shape: 'circle',
indicator: [
{ name: '销售(sales)', max: 6500},
{ name: '管理(Administration)', max: 16000},
{ name: '信息技术(Information Techology)', max: 30000},
{ name: '客服(Customer Support)', max: 38000},
{ name: '研发(Development)', max: 52000},
{ name: '市场(Marketing)', max: 25000}
]
},
series: [{
name: '预算 vs 开销(Budget vs spending)',
type: 'radar',
// areaStyle: {normal: {}},
data : [
{
value : [4300, 10000, 28000, 35000, 50000, 19000],
name : '预算分配(Allocated Budget)'
},
{
value : [5000, 14000, 28000, 31000, 42000, 21000],
name : '实际开销(Actual Spending)'
}
],
label: {
formatter: 's'
}
}]
}; |
This was referenced Mar 24, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
4.2.1
Steps to reproduce
当我使用radar.label的formatter回调方法的时候,我没法感知到我当前的数据对应的是哪个指标?
What is expected?
我希望radar.label.formatter 回调中,可以获取到dimIndex这个参数,因为我希望使用dimIndex这个参数来判断我当前的数据来源于哪一个指标,这样我可以针对不同的指标数据进行不同的格式化。
What is actually happening?
我没有在radar.label.formatter回调中获取到dimIndex这个参数
The text was updated successfully, but these errors were encountered: