| | |
| | | let diagram = new Diagram(); |
| | | let thisWidth = stc.scrollWidth; |
| | | let thisHeight = stc.scrollHeight; |
| | | diagram.width = thisWidth; |
| | | diagram.height= thisHeight; |
| | | diagram.width = 525; |
| | | diagram.height= 380; |
| | | diagram.setCanvas(stc, flush); |
| | | |
| | | let start = [60, 100]; |
| | |
| | | lineWidth: lineWidth, |
| | | points: [ |
| | | [line7[1][0],line7[1][1]], |
| | | [line8[0][0], line8[0][1]-10] |
| | | [line8[0][0], line8[0][1]] |
| | | |
| | | ], |
| | | hide: hideStatus, |
| | |
| | | |
| | | let text3 = diagram.text({ |
| | | id: "text3", |
| | | text: '900V', |
| | | text: '900V/DC', |
| | | fillStyle: '#fff', |
| | | fontSize: 12, |
| | | fontWidth:1, |