Browse Source

release:211

Guichuan Yu 6 years ago
parent
commit
897f501bc0
1 changed files with 35 additions and 13 deletions
  1. 35 13
      dapingmu.html

+ 35 - 13
dapingmu.html

@@ -54,7 +54,7 @@
                 <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
                     <div class="card" style="margin-bottom: 0.2em">
                         <div class="body bg-pink">
-                            <div class="row text-center">
+                            <div class="row text-center" style="font-size: 2em">
                                 <div class="col-3"></div>
                                 <div class="col-3">全场产能:</div>
                                 <div class="col-3">122555</div>
@@ -68,7 +68,7 @@
                 <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
                     <div class="card" style="margin-bottom: 0.2em">
                         <div class="body bg-cyan text-center">
-                            <div class="row text-center">
+                            <div class="row text-center" style="font-size: 2em">
                                 <div class="col-3"></div>
                                 <div class="col-3">全厂坏品数:</div>
                                 <div class="col-3">15555</div>
@@ -85,7 +85,7 @@
             </div>
         <div class="container-fluid">
             <div id="container3" style="min-width:350px;height:330px;padding-bottom: 0.2em"></div>
-            <div id="container5" style="min-width:350px;height:320px"></div>
+            <div id="container5" style="min-width:350px;height:300px"></div>
         </div>
 
 
@@ -270,35 +270,47 @@
             credits:{
                 enabled: false // 禁用版权信息
             },
+            exporting: {
+                enabled: false
+            },
             xAxis: [{
                 categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
                     'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
-                crosshair: true
+                labels: {
+                    enabled: false,
+                }
             }],
             yAxis: [{ // Primary yAxis
                 labels: {
                     format: '{value}',
                     style: {
-                        color: Highcharts.getOptions().colors[1]
+                        color: '#ffc107',
+                        fontSize:'20px'
                     }
                 },
+
                 title: {
                     text: '堆积数',
                     style: {
-                        color: Highcharts.getOptions().colors[1]
+                        color: '#ffc107',
+                        fontSize:'20px'
                     }
                 }
             }, { // Secondary yAxis
                 title: {
                     text: '不良率',
                     style: {
-                        color: Highcharts.getOptions().colors[0]
+                        color: 'red',
+                        fontSize:'20px'
                     }
                 },
+                min:0,
+                max:25,
                 labels: {
                     format: '{value} %',
                     style: {
-                        color: 'red'
+                        color: 'red',
+                        fontSize:'20px'
                     }
                 },
                 opposite: true
@@ -319,7 +331,7 @@
                 name: '堆积数',
                 color:'#ffc107',
                 type: 'area',
-                data: [7.0, 6.9, 9.5, 14.5, 18.2, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6],
+                data: [10,15, 12, 14.5, 18.2, 15, 10, 13, 13.3, 14.3, 13.9, 9.6],
                 tooltip: {
                     valueSuffix: ''
                 }
@@ -328,7 +340,7 @@
                 type: 'spline',
                 color:'#ff0000',
                 yAxis: 1,
-                data: [49.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4],
+                data: [10, 11, 12, 10.1, 10.2, 1, 5, 7, 8, 10, 5, 7],
                 tooltip: {
                     valueSuffix: ' %'
                 }
@@ -423,7 +435,7 @@
                 enabled: false
             },
             title: {
-                text: '工位实时产能',
+                text: '每拉实时产能',
                 style:{
                     fontSize:"10px",
                 }
@@ -433,11 +445,21 @@
                 categories: [
                     '一月','二月','三月','四月','五月','六月','七月','八月','九月','十月','十一月','十二月'
                 ],
-                crosshair: true
+                crosshair: true,
+                labels:{
+                    style:{
+                        fontSize:'20px'
+                    }
+                }
             },
             yAxis: {
                 min: 0,
-                title: null
+                title: null,
+                labels:{
+                    style:{
+                        fontSize:'20px'
+                    }
+                }
 
             },
             tooltip: {