echart字体修改

lijinlong
吕天方 1 year ago
parent 4c5be7c238
commit b8ed9f58d9

@ -88,6 +88,10 @@ export default {
return value; return value;
} }
}, },
fontSize: '13px',
fontFamily: 'Alibaba PuHuiTi',
fontWeight: 500,
color: '#525966',
}, },
axisTick: { axisTick: {
show: false, show: false,

@ -123,8 +123,11 @@ export default {
show: false, show: false,
}, },
axisLabel: { axisLabel: {
color: "#525966", show: true,
// fontFamily:'Alibaba-PuHuiTi-Medium.otf' fontSize: '13px',
fontFamily: 'Alibaba PuHuiTi',
fontWeight: 500,
color: '#525966',
}, },
axisLine: { axisLine: {
lineStyle: { lineStyle: {
@ -136,15 +139,19 @@ export default {
], ],
yAxis: [ yAxis: [
{ {
type: "value", splitLine :{ //线
// splitLine: { lineStyle:{
// show: true, type:'dashed', //线 dotted线 solid:线
// lineStyle: { },
// type: "dashed", show:true //
// color: "#B6C3D9", },
// }, axisLabel: {
// }, show: true,
z: 1, fontSize: '13px',
fontFamily: 'Alibaba PuHuiTi',
fontWeight: 500,
color: '#525966',
},
}, },
], ],
series: [ series: [
@ -168,18 +175,16 @@ export default {
data: [700, 400, 600, 300, 580, 250, 490, 200, 390, 460, 90], data: [700, 400, 600, 300, 580, 250, 490, 200, 390, 460, 90],
// //
emphasis:{ emphasis:{
itemStyle: {
// color: "rgba(0,0,0,0.3)",
},
//
label:{ label:{
show:true, show:true,
position: "top", formatter: '{c}',
formatter: "{c}", position: 'top',
color: "#FF8C03", fontSize: 14,
// fontFamily:'Alibaba-PuHuiTi-Regular.otf' color: '#FF8C03',
}, fontWeight: 'bold',
}, fontFamily:'Alibaba PuHuiTi'
}
}
}, },
], ],
}; };

Loading…
Cancel
Save