Commit bb08b34e authored by wangqinghua's avatar wangqinghua

update

parent 2c3d28fb
...@@ -55,7 +55,14 @@ export class AnalysisDealComponent implements OnInit { ...@@ -55,7 +55,14 @@ export class AnalysisDealComponent implements OnInit {
}) })
}, },
yAxis: { yAxis: {
type: 'value' type: 'value',
minInterval : 1,
axisLabel: {
show: true,
interval: 'auto',
formatter: '{value} 个'
},
boundaryGap : [ 0,0.1 ],
}, },
series: [{ series: [{
data: this.dealList.map(e=>{ data: this.dealList.map(e=>{
......
...@@ -55,7 +55,14 @@ export class AnalysisEventComponent implements OnInit { ...@@ -55,7 +55,14 @@ export class AnalysisEventComponent implements OnInit {
}) })
}, },
yAxis: { yAxis: {
type: 'value' type: 'value',
minInterval : 1,
axisLabel: {
show: true,
interval: 'auto',
formatter: '{value} 个'
},
boundaryGap : [ 0, 0.1 ],
}, },
series: [{ series: [{
data: this.eventList.map(e=>{ data: this.eventList.map(e=>{
......
...@@ -55,7 +55,14 @@ export class AnalysisStatusComponent implements OnInit { ...@@ -55,7 +55,14 @@ export class AnalysisStatusComponent implements OnInit {
}) })
}, },
yAxis: { yAxis: {
type: 'value' type: 'value',
minInterval : 1,
axisLabel: {
show: true,
interval: 'auto',
formatter: '{value} 个'
},
boundaryGap : [ 0, 0.1 ],
}, },
series: [{ series: [{
data: this.statusList.map(e=>{ data: this.statusList.map(e=>{
......
...@@ -105,11 +105,13 @@ export class ResourceAlarmComponent implements OnInit { ...@@ -105,11 +105,13 @@ export class ResourceAlarmComponent implements OnInit {
}, },
yAxis: { yAxis: {
type: 'value', type: 'value',
minInterval : 1,
axisLabel: { axisLabel: {
show: true, show: true,
interval: 'auto', interval: 'auto',
formatter: '{value} 个' formatter: '{value} 个'
}, },
boundaryGap : [ 0, 0.1 ],
}, },
series: [{ series: [{
data: data.map(e=>{ data: data.map(e=>{
...@@ -174,11 +176,13 @@ export class ResourceAlarmComponent implements OnInit { ...@@ -174,11 +176,13 @@ export class ResourceAlarmComponent implements OnInit {
yAxis: [ yAxis: [
{ {
type: 'value', type: 'value',
minInterval : 1,
axisLabel: { axisLabel: {
show: true, show: true,
interval: 'auto', interval: 'auto',
formatter: '{value} 个' formatter: '{value} 个'
}, },
boundaryGap : [ 0, 0.1 ],
} }
], ],
series: [ series: [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment