perf[Charts]: refine style

This commit is contained in:
Pan 2018-09-04 15:03:47 +08:00
parent 44e4bddc21
commit 676aaf3485
6 changed files with 12 additions and 9 deletions

View File

@ -56,6 +56,10 @@ export default {
this.chart.setOption(
{
backgroundColor: '#08263a',
grid: {
left: '5%',
right: '5%'
},
xAxis: [{
show: false,
data: xAxisData

View File

@ -80,8 +80,8 @@ export default {
},
grid: {
top: 100,
left: '3%',
right: '4%',
left: '2%',
right: '2%',
bottom: '2%',
containLabel: true
},

View File

@ -75,8 +75,10 @@ export default {
}
},
grid: {
left: '5%',
right: '5%',
borderWidth: 0,
top: 110,
top: 150,
bottom: 95,
textStyle: {
color: '#fff'

View File

@ -16,9 +16,8 @@ export default {
<style scoped>
.chart-container{
position: relative;
padding: 20px;
width: 100%;
height: 85vh;
height: calc(100vh - 84px);
}
</style>

View File

@ -16,9 +16,8 @@ export default {
<style scoped>
.chart-container{
position: relative;
padding:20px;
width: 100%;
height:85vh;
height: calc(100vh - 84px);
}
</style>

View File

@ -16,9 +16,8 @@ export default {
<style scoped>
.chart-container{
position: relative;
padding: 20px;
width: 100%;
height:85vh;
height: calc(100vh - 84px);
}
</style>