显示修改
This commit is contained in:
@@ -410,6 +410,14 @@ export default {
|
|||||||
name: '合格数',
|
name: '合格数',
|
||||||
type: 'bar',
|
type: 'bar',
|
||||||
barWidth: '12',
|
barWidth: '12',
|
||||||
|
label: {
|
||||||
|
show: true,
|
||||||
|
position: 'top', // 位置
|
||||||
|
color: '#A7D6F4',
|
||||||
|
fontSize: 14,
|
||||||
|
distance: 15, // 距离
|
||||||
|
formatter: '{c}' // 这里是数据展示的时候显示的数据
|
||||||
|
},
|
||||||
itemStyle: {
|
itemStyle: {
|
||||||
normal: {
|
normal: {
|
||||||
color: new this.$echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
color: new this.$echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
||||||
@@ -432,6 +440,14 @@ export default {
|
|||||||
name: '不合格数',
|
name: '不合格数',
|
||||||
type: 'bar',
|
type: 'bar',
|
||||||
barWidth: '12',
|
barWidth: '12',
|
||||||
|
label: {
|
||||||
|
show: true,
|
||||||
|
position: 'top', // 位置
|
||||||
|
color: '#A7D6F4',
|
||||||
|
fontSize: 14,
|
||||||
|
distance: 15, // 距离
|
||||||
|
formatter: '{c}' // 这里是数据展示的时候显示的数据
|
||||||
|
},
|
||||||
itemStyle: {
|
itemStyle: {
|
||||||
normal: {
|
normal: {
|
||||||
color: new this.$echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
color: new this.$echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
||||||
@@ -454,6 +470,15 @@ export default {
|
|||||||
name: '剩余数',
|
name: '剩余数',
|
||||||
type: 'bar',
|
type: 'bar',
|
||||||
barWidth: '12',
|
barWidth: '12',
|
||||||
|
label: {
|
||||||
|
show: true,
|
||||||
|
position: 'top', // 位置
|
||||||
|
color: '#A7D6F4',
|
||||||
|
fontSize: 14,
|
||||||
|
distance: 15, // 距离
|
||||||
|
formatter: '{c}' // 这里是数据展示的时候显示的数据
|
||||||
|
},
|
||||||
|
barGap: '200%',
|
||||||
itemStyle: {
|
itemStyle: {
|
||||||
normal: {
|
normal: {
|
||||||
color: new this.$echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
color: new this.$echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
||||||
|
|||||||
Reference in New Issue
Block a user