代码调整
This commit is contained in:
49
pqs-event/event-boot/src/main/resources/templates/bar9.ftl
Normal file
49
pqs-event/event-boot/src/main/resources/templates/bar9.ftl
Normal file
@@ -0,0 +1,49 @@
|
||||
<#--暂降原因专用模板-->
|
||||
{
|
||||
backgroundColor: '#fff',
|
||||
animation: false,
|
||||
title: {
|
||||
text: '暂降原因',
|
||||
x: 'center'
|
||||
},
|
||||
legend: {
|
||||
orient: 'vertical',
|
||||
left: 'left',
|
||||
data: ${typeArray}
|
||||
},
|
||||
series: [
|
||||
{
|
||||
name: '暂降原因',
|
||||
type: 'pie',
|
||||
radius: '70%',
|
||||
center: ['50%', '53%'],
|
||||
label: {
|
||||
normal: {
|
||||
show: false
|
||||
},
|
||||
emphasis: {
|
||||
show: true
|
||||
}
|
||||
},
|
||||
lableLine: {
|
||||
normal: {
|
||||
show: false
|
||||
},
|
||||
emphasis: {
|
||||
show: true
|
||||
}
|
||||
},
|
||||
data: [<#list valueArray as a>
|
||||
{value:${a.times?c},
|
||||
name:'${a.reason}'},
|
||||
</#list>],
|
||||
itemStyle: {
|
||||
emphasis: {
|
||||
shadowBlur: 10,
|
||||
shadowOffsetX: 0,
|
||||
shadowColor: 'rgba(0, 0, 0, 0.5)'
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user