Browse Source

modify some codes

master
xiaowuler 3 years ago
parent
commit
ce95f21da2
  1. 9
      04.系统编码/Frontend/src/model/high-chart-create.ts

9
04.系统编码/Frontend/src/model/high-chart-create.ts

@ -33,7 +33,7 @@ export class HighChartCreate {
text: text, text: text,
style: { style: {
color: '#000000', color: '#000000',
fontSize: '14px', fontSize: '18px',
fontFamily: '微软雅黑' fontFamily: '微软雅黑'
} }
}, },
@ -51,6 +51,9 @@ export class HighChartCreate {
this.xAxis.push({ this.xAxis.push({
type: 'datetime', type: 'datetime',
labels: { labels: {
style: {
fontSize:'18px'
},
formatter: function () { formatter: function () {
return Highcharts.dateFormat('%d日%H时', this.value); return Highcharts.dateFormat('%d日%H时', this.value);
} }
@ -75,7 +78,7 @@ export class HighChartCreate {
text: text, text: text,
style: { style: {
color: '#000000', color: '#000000',
fontSize: '14px', fontSize: '18px',
fontFamily: '微软雅黑' fontFamily: '微软雅黑'
} }
}, },
@ -93,7 +96,7 @@ export class HighChartCreate {
text: text, text: text,
style: { style: {
color: '#000000', color: '#000000',
fontSize: '14px', fontSize: '18px',
fontFamily: '微软雅黑' fontFamily: '微软雅黑'
} }
}, },

Loading…
Cancel
Save