prodcount
This commit is contained in:
@@ -91,6 +91,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import THeader from '@components/header.vue'
|
import THeader from '@components/header.vue'
|
||||||
import { productionStatistics } from '@js/getData1'
|
import { productionStatistics } from '@js/getData1'
|
||||||
|
// import { productionStatistics } from '@js/getData11'
|
||||||
export default {
|
export default {
|
||||||
name: 'ProdCount',
|
name: 'ProdCount',
|
||||||
components: {
|
components: {
|
||||||
@@ -253,6 +254,10 @@ export default {
|
|||||||
})
|
})
|
||||||
// 指定图表的配置项和数据
|
// 指定图表的配置项和数据
|
||||||
var option = {
|
var option = {
|
||||||
|
grid: {
|
||||||
|
left: "3%",
|
||||||
|
containLabel: true
|
||||||
|
},
|
||||||
legend: {
|
legend: {
|
||||||
top: 20,
|
top: 20,
|
||||||
right: 10,
|
right: 10,
|
||||||
@@ -323,7 +328,7 @@ export default {
|
|||||||
type: 'bar',
|
type: 'bar',
|
||||||
barWidth: 14,
|
barWidth: 14,
|
||||||
stack: '完成情况',
|
stack: '完成情况',
|
||||||
// data: [15, 20, 36, 10],
|
// data: [60, 20, 36, 10],
|
||||||
data: unFinishArr,
|
data: unFinishArr,
|
||||||
itemStyle: {
|
itemStyle: {
|
||||||
normal: {
|
normal: {
|
||||||
|
|||||||
Reference in New Issue
Block a user