Commit 903f013a by 胡悦

Merge branch 'gh_v1.2.0' into ty_v1.2.0

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