绩效考核手机版
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
880 B

3 years ago
//echarts配置
const echartsStruct = {
title:{
text:"", //主标题文本 支持使用 \n 换行。
subtext:"", //副标题文本,支持使用 \n 换行。
textStyle:{ //文字设定
fontSize: 14, //字体大小
fontWeight: 400, //字体粗细
align:'center',//文字水平对齐方式(left/right)
verticalAlign:'middle',//文字垂直对齐方式(top/bottom)
},
top:20,
left: 'center',
textVerticalAlign:'middle', //整体(包括 text 和 subtext)的垂直对齐。
},
grid:{
right:0,
bottom: 30
},
xAxis:{ //x轴设置
type:'category',
axisLabel: {
//x轴文字的配置
show: true,
interval: 0,//使x轴文字显示全
},
data:[]
},
yAxis:{
type:'value',
},
tooltip:{
trigger:'axis',
axisPointer: {
type: 'shadow'
}
},
series:[]
}
export const echartsMethod= {
echartsStruct
}