| | |
| | | } |
| | | }, |
| | | legend: { data: ["站点耗时", "堆垛机耗时", "总耗时"] }, |
| | | grid: { left: 50, right: 20, top: 40, bottom: 70 }, |
| | | grid: { left: 88, right: 20, top: 40, bottom: 70, containLabel: true }, |
| | | xAxis: { |
| | | type: "category", |
| | | data: rows.map(function (item) { return String(item.wrkNo); }), |
| | |
| | | } |
| | | }, |
| | | legend: { data: ["平均总耗时", "平均站点耗时", "平均堆垛机耗时"] }, |
| | | grid: { left: 50, right: 20, top: 40, bottom: 70 }, |
| | | grid: { left: 88, right: 20, top: 40, bottom: 70, containLabel: true }, |
| | | xAxis: { |
| | | type: "category", |
| | | data: rows.map(function (item) { return item.bucketLabel; }), |
| | |
| | | return lines.join("<br>"); |
| | | } |
| | | }, |
| | | grid: { left: 50, right: 20, top: 20, bottom: 40 }, |
| | | grid: { left: 88, right: 20, top: 20, bottom: 68, containLabel: true }, |
| | | xAxis: { |
| | | type: "category", |
| | | data: rows.map(function (item) { return item.name; }) |
| | | data: rows.map(function (item) { return item.name; }), |
| | | axisLabel: { |
| | | interval: 0, |
| | | rotate: rows.length > 6 ? 30 : 0 |
| | | } |
| | | }, |
| | | yAxis: { |
| | | type: "value", |