From 4bfe87304988cfa2338bb58210ee227b917a9247 Mon Sep 17 00:00:00 2001 From: whycwx <1272078254@qq.com> Date: 星期四, 22 七月 2021 14:12:43 +0800 Subject: [PATCH] 动图 --- src/pages/dynamometerMmotor/js/gridCircuitDiagram.js | 29 ++++++++++++++++++++++++++--- 1 files changed, 26 insertions(+), 3 deletions(-) diff --git a/src/pages/dynamometerMmotor/js/gridCircuitDiagram.js b/src/pages/dynamometerMmotor/js/gridCircuitDiagram.js index 43f8418..a1f6ee9 100644 --- a/src/pages/dynamometerMmotor/js/gridCircuitDiagram.js +++ b/src/pages/dynamometerMmotor/js/gridCircuitDiagram.js @@ -35,7 +35,7 @@ lineWidth: lineWidth, points: [ [line1[1][0],line1[1][1]], - [line1[1][0]+260, line1[1][1]] + [line1[1][0]+200, line1[1][1]] ] }); @@ -45,7 +45,7 @@ lineWidth: lineWidth, points: [ [line2[1][0]+2,line2[1][1]], - [line2[1][0]+130, line2[1][1]] + [line2[1][0]+190, line2[1][1]] ] }); let line4 = diagram.line({ @@ -174,7 +174,7 @@ fillStyle: '#1e9ff2', fontSize: 12, fontWidth:1, - point:[line1[0][0]+30,line1[0][1]+50], + point:[line1[0][0]+20,line1[0][1]+50], showPanel: false, }); @@ -330,6 +330,29 @@ point:[Image6.top[0]-30,Image6.top[1]-15], showPanel: false, }); + + // let text12 = diagram.text({ + // id: "text12", + // text: '&鐢靛帇锛�690V&棰戠巼锛�44.5Hz&杞�燂細89r/min&杈撳嚭鍔熺巼锛�980kW', + // fillStyle: '#ffffff', + // fontSize: 12, + // fontWidth:1, + // point:[Image3.top[0]+50,Image3.top[1]-160], + // showPanel: false, + // type:true, + // radBorder: true, + // bgColor:"rgba(2, 151, 215, 0.3)", + // borderColor:"rgba(30, 159, 242, 1)" + // }); + // let text13 = diagram.text({ + // id: "text13", + // text: ' 鍙楀姛鐢垫満', + // fillStyle: "#ffff18", + // fontSize: 12, + // fontWidth:1, + // point:[Image3.top[0]+50,Image3.top[1]-160], + // showPanel: false, + // }); // -- Gitblit v1.9.1