Commit 903f013a by 胡悦

Merge branch 'gh_v1.2.0' into ty_v1.2.0

2 parents 0b24e5db c43bedf1
......@@ -162,6 +162,7 @@ export default {
var seriesDate = this.dataList.map(item => +item.num)
this.lineOptions.series[0].data = seriesDate
this.lineOptions.yAxis.scale = true
this.lineOptions.tooltip.textStyle.fontSize = this.setChartFontSize(10)
// this.lineOptions.yAxis.min = Math.min(...seriesDate)
// this.lineOptions.yAxis.max = Math.max(...seriesDate)
this[this.domId].setOption(this.lineOptions)
......
......@@ -267,7 +267,7 @@ export default {
borderWidth: 0,
backgroundColor: 'rgba(68,68,68,0.80)',
textStyle: {
color: '#FFFFFF',
color: 'rgba(255,255,255,.6)',
fontSize: this.setChartFontSize(8)
},
show: true,
......@@ -376,11 +376,11 @@ export default {
box-sizing: border-box;
.total-title-box {
.total {
width: 50%;
width: 46%;
}
> div {
box-sizing: border-box;
width: 25%;
width: 27%;
padding-left: 0;
white-space: nowrap;
.describe{
......@@ -395,10 +395,10 @@ export default {
color: #eb6001;
font-weight: 700;
line-height: 3.7vh;
width: 50%;
width: 46%;
}
> div {
width: 25%;
width: 27%;
font-size: 14px;
color: #f5aa01;
}
......
......@@ -6,7 +6,7 @@ function getLineOptions(obj) {
borderWidth: 0,
backgroundColor: 'rgba(68,68,68,0.80)',
textStyle: {
color: '#FFFFFF',
color: 'rgba(255,255,255,0.6)',
fontSize: '1.5px'
},
formatter: tooltipFormatter || '',
......
......@@ -99,7 +99,7 @@ export default {
backgroundColor: 'rgba(68,68,68,0.80)',
confine: true,
textStyle: {
color: '#FFFFFF',
color: 'rgba(255,255,255,.6)',
fontSize: 8
},
extraCssText: 'width: 80px;',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!