3888007c by zhangmeng

大屏

1 parent b340d8f9
...@@ -691,6 +691,7 @@ const handelZhu3 = () => { ...@@ -691,6 +691,7 @@ const handelZhu3 = () => {
691 } 691 }
692 }, 692 },
693 grid: { 693 grid: {
694 top: "18%",
694 left: '3%', 695 left: '3%',
695 right: '4%', 696 right: '4%',
696 bottom: '3%', 697 bottom: '3%',
...@@ -877,7 +878,6 @@ function autoHover(myChart, option, index, time) { ...@@ -877,7 +878,6 @@ function autoHover(myChart, option, index, time) {
877 padding: calc(5 * 100vw / 1920) calc(11 * 100vw / 1920); 878 padding: calc(5 * 100vw / 1920) calc(11 * 100vw / 1920);
878 } 879 }
879 880
880
881 .center { 881 .center {
882 width: 100%; 882 width: 100%;
883 883
......
...@@ -285,7 +285,10 @@ const setB = () => { ...@@ -285,7 +285,10 @@ const setB = () => {
285 yAxis: [ 285 yAxis: [
286 { 286 {
287 type: 'value', 287 type: 'value',
288 name: '金额(W)', 288 axisLabel: {
289 formatter: '{value}w' // 在数值后添加单位
290 },
291 name: '',
289 axisLine: { 292 axisLine: {
290 show: true, 293 show: true,
291 lineStyle: { 294 lineStyle: {
...@@ -427,7 +430,10 @@ const setC = () => { ...@@ -427,7 +430,10 @@ const setC = () => {
427 yAxis: [ 430 yAxis: [
428 { 431 {
429 type: 'value', 432 type: 'value',
430 name: '金额(万元)', 433 name: '',
434 axisLabel: {
435 formatter: '{value}w' // 在数值后添加单位
436 },
431 axisLine: { 437 axisLine: {
432 show: true, 438 show: true,
433 lineStyle: { 439 lineStyle: {
......
...@@ -106,6 +106,9 @@ const setA = () => { ...@@ -106,6 +106,9 @@ const setA = () => {
106 }, 106 },
107 xAxis: { 107 xAxis: {
108 type: 'value', 108 type: 'value',
109 axisLabel: {
110 formatter: '{value}w' // 在数值后添加单位
111 },
109 axisLine: { 112 axisLine: {
110 show: true, 113 show: true,
111 lineStyle: { 114 lineStyle: {
...@@ -214,6 +217,9 @@ const setB = () => { ...@@ -214,6 +217,9 @@ const setB = () => {
214 }, 217 },
215 xAxis: { 218 xAxis: {
216 type: 'value', 219 type: 'value',
220 axisLabel: {
221 formatter: '{value}w' // 在数值后添加单位
222 },
217 axisLine: { 223 axisLine: {
218 show: true, 224 show: true,
219 lineStyle: { 225 lineStyle: {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!