echart字体修改

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

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

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

Loading…
Cancel
Save