diff --git a/src/components/baozuo-demo/LeftChart1.vue b/src/components/baozuo-demo/LeftChart1.vue index c1e29b3..fc7d026 100644 --- a/src/components/baozuo-demo/LeftChart1.vue +++ b/src/components/baozuo-demo/LeftChart1.vue @@ -28,13 +28,19 @@ export default { console.log(myChart) this.option = { title: { - text: '近一周产量趋势' + text: '近一周产量趋势', + textStyle:{ + color:'#fff' + } }, tooltip: { trigger: 'axis' }, legend: { - data: ['机芯1线', '机芯2线', '盖板线', '整机线'] + data: ['机芯1线', '机芯2线', '盖板线', '整机线'], + textStyle:{ + color:'#fff' + } }, grid: { left: '3%', diff --git a/src/components/baozuo-demo/LeftChart2.vue b/src/components/baozuo-demo/LeftChart2.vue index b48dcc5..d6b537a 100644 --- a/src/components/baozuo-demo/LeftChart2.vue +++ b/src/components/baozuo-demo/LeftChart2.vue @@ -29,13 +29,19 @@ export default { this.option = { title: { text: '月生产情况', - subtext: '完成率' + subtext: '完成率', + textStyle:{ + color:'#fff' + } }, tooltip: { - trigger: 'axis' + trigger: 'axis', }, legend: { - data: ['机芯1线', '机芯2线', '盖板线'] + data: ['机芯1线', '机芯2线', '盖板线'], + textStyle:{ + color:'#fff' + } }, toolbox: { show: true,