Site Notice
hello, world
Difference between revisions of "ECharts/radar"
From Project-EPB Commons
< ECharts
([InPageEdit] 没有编辑摘要) |
([InPageEdit] 没有编辑摘要) |
||
Line 14: | Line 14: | ||
{ | { | ||
indicator: [ | indicator: [ | ||
− | {text: ' | + | {text: '攻击', max: 100}, |
− | {text: ' | + | {text: '防御', max: 100}, |
− | {text: ' | + | {text: '隐蔽', max: 100}, |
− | {text: ' | + | {text: '速度', max: 100}, |
− | {text: ' | + | {text: '范围', max: 100} |
− | |||
] | ] | ||
} | } | ||
Line 32: | Line 31: | ||
data: [ | data: [ | ||
{ | { | ||
− | value: [ | + | value: [{{{攻击}}},{{{防御}}},{{{隐蔽}}},{{{速度}}},{{{范围}}}], |
name: '数据' | name: '数据' | ||
} | } |
Revision as of 01:01, 7 January 2020
{
title: {
text: '角色能力',
subtext:''
},
tooltip: {
trigger: 'axis'
},
legend: {
left: 'center',
data: ['数据']
},
radar: [
{
indicator: [
{text: '攻击', max: 100},
{text: '防御', max: 100},
{text: '隐蔽', max: 100},
{text: '速度', max: 100},
{text: '范围', max: 100}
]
}
],
series: [
{
type: 'radar',
tooltip: {
trigger: 'item'
},
areaStyle: {},
data: [
{
value: [{{{攻击}}},{{{防御}}},{{{隐蔽}}},{{{速度}}},{{{范围}}}],
name: '数据'
}
]
}
]
}