Commit bd8f4bc3 authored by lixiaoyi's avatar lixiaoyi

功率图修改

parent 6623fd71
......@@ -102,6 +102,9 @@ body {
.item_wrap {
height: calc(100% - 32px);
line-height: 32px;
}
.item_val_wrap{
display: flex;
}
......
......@@ -23,7 +23,7 @@
<img class="item_img" src="./imgs/title@2x.png" alt="">
<span class="item_title" >文本标题</span>
</div>
<div class="item_wrap">
<div class="item_wrap item_val_wrap">
<div class="item_wrap_content">
<div>
<div class="val" id="pro_eff">0</div>
......
......@@ -192,7 +192,7 @@ function getTorque(){
},
series: [
{
name: '转矩1',
name: '功率1',
data: data1,
type: 'bar',
stack: '1',
......@@ -208,7 +208,7 @@ function getTorque(){
}
},
{
name: '转矩2',
name: '功率2',
data: data2,
type: 'bar',
stack: '2',
......@@ -266,7 +266,7 @@ function getTorque(){
url : baseUrl + "/Base/PostRediusTest",
dataType :"json",
contentType: "application/json",
data: JSON.stringify( ["TORQUE1", "TORQUE2"]),
data: JSON.stringify( ["PROWER1", "PROWER2"]),
success :function(res) {
if(xAxis.length === 6){
data1.shift()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment