数据看板
This commit is contained in:
parent
49e79471da
commit
73ac8490cb
|
|
@ -13,10 +13,9 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import * as echarts from 'echarts';
|
import * as echarts from 'echarts';
|
||||||
export default {
|
|
||||||
components: {
|
|
||||||
|
|
||||||
},
|
export default {
|
||||||
|
components: {},
|
||||||
name: 'bottomTwo',
|
name: 'bottomTwo',
|
||||||
props: {
|
props: {
|
||||||
pageData: {
|
pageData: {
|
||||||
|
|
@ -82,6 +81,11 @@ export default {
|
||||||
data: this.barYData,
|
data: this.barYData,
|
||||||
itemStyle: {
|
itemStyle: {
|
||||||
color: "#157DF3"
|
color: "#157DF3"
|
||||||
|
},
|
||||||
|
label: {
|
||||||
|
show: true, // 显示标签
|
||||||
|
position: 'top', // 设置标签的位置在柱子的上方
|
||||||
|
formatter: '{c}' // 显示的数据格式,这里显示的是原始数值
|
||||||
}
|
}
|
||||||
}]
|
}]
|
||||||
};
|
};
|
||||||
|
|
@ -115,6 +119,7 @@ export default {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title-box {
|
.title-box {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
|
|
@ -123,6 +128,7 @@ export default {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.chart-box {
|
.chart-box {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 450px;
|
height: 450px;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue