| | |
| | | <div class="bar-contents"> |
| | | <div class="bar-total"> |
| | | <div class="bar-item">当日合计生产:{{ chartData.total }}</div> |
| | | <div class="bar-item">正品率:{{ chartData.rate }}</div> |
| | | <div class="bar-item">正品率:{{ chartData.rate }}%</div> |
| | | </div> |
| | | <div class="chart" ref="chart"></div> |
| | | </div> |
| | |
| | | '<span style=width:70px;display:inline-block">' + |
| | | "正品率" + |
| | | "</span> " + |
| | | data.rate; |
| | | data.rate + |
| | | "%"; |
| | | list.push(lastString); |
| | | listItem = list.join("<br>"); |
| | | return '<div class="showBox">' + listItem + "</div>"; |
| | |
| | | show: false, |
| | | startValue: that.startValue, // 从头开始 |
| | | endValue: that.endValue, // 一次性展示几个 |
| | | zoomOnMouseWheel: false, |
| | | moveOnMouseWheel: true, |
| | | moveOnMouseMove: true, |
| | | }, |
| | | ], |
| | | legend: { |