longyvfengyun
2022-09-06 2bc291041f1c04709558b29a7efd6f0ce58c4748
WebRoot/js/charge.js
@@ -199,8 +199,8 @@
               show: true,
               position: 'end',
               formatter: [
                  '{a|' + xdata[specialPoint.min] + '}' + '{c|}',
                  '{b|锅底电压:' + sdata[0][specialPoint.min] + 'V}' + '{c|}'
                  '{a|Tg:' + xdata[specialPoint.min] + '}' + '{c|}',
                  '{b|Vg:' + sdata[0][specialPoint.min] + 'V}' + '{c|}'
               ].join('\n'),
               rich: {
                  a: {
@@ -210,7 +210,8 @@
                  },
                  c: {
                     width: 60
                     width: 60,
                     height: 15,
                  }
               },
            },
@@ -221,8 +222,8 @@
                  show: true,
                  position: 'end',
                  formatter: [
                     '{c|}' + '{a|' + xdata[specialPoint.max] + '}',
                     '{c|}' + '{b|驼峰电压:' + sdata[0][specialPoint.max] + 'V}'
                     '{c|}' + '{a|Tt:' + xdata[specialPoint.max] + '}',
                     '{c|}' + '{b|Vt:' + sdata[0][specialPoint.max] + 'V}'
                  ].join('\n'),
                  rich: {
                     a: {
@@ -233,6 +234,7 @@
                     },
                     c: {
                        width: 80,
                        height: 15,
                     }
                  },
               },
@@ -272,13 +274,13 @@
         data:xdata
      },
      grid: {
         left: '1%',
         left: '8%',
         right: '5%',
         bottom: '2%',
         containLabel: true
      },
      yAxis:[{
         name:"y(V)"   ,
         name:""   ,
         type:'value',
         min:Math.floor(ymin-1),
         max:Math.ceil(ymax+1),