some modify

This commit is contained in:
jiaming 2018-12-25 15:54:45 +08:00
parent 694af78fba
commit 10d470a91a
4 changed files with 30 additions and 10 deletions

Binary file not shown.

View File

@ -14,8 +14,10 @@ data: {
data: [ data: [
{ {
data: [150, 290, 420, 200, 350, 219], data: [150, 290, 420, 200, 350, 219],
// fillColor: ['#247efc', '#ff2fdb'],
fillColor: ['#247efc', '#ff2fdb'] //
// inherit fillColor lineColor colors
valueTextColor: 'inherit'
} }
], ],
x: { x: {
@ -28,7 +30,9 @@ data: {
color: '#2b7bfb', color: '#2b7bfb',
data: ['车流量'], data: ['车流量'],
type: 'rectangle' type: 'rectangle'
} },
//
showValueText: true
} }
</highlight-code> </highlight-code>
</div> </div>
@ -149,7 +153,9 @@ data: [
type: 'rightEchelon' type: 'rightEchelon'
}, },
// //
showValueText: true showValueText: true,
//
valueTextColor: '#bbb'
} }
</highlight-code> </highlight-code>
</div> </div>
@ -297,7 +303,8 @@ export default {
data: [ data: [
{ {
data: [150, 290, 420, 200, 350, 219], data: [150, 290, 420, 200, 350, 219],
fillColor: ['#247efc', '#ff2fdb'] fillColor: ['#247efc', '#ff2fdb'],
valueTextColor: 'inherit'
} }
], ],
x: { x: {
@ -322,7 +329,7 @@ export default {
} }
], ],
x: { x: {
data: ['西峡', '周口', '南阳', '驻马店', '郑州', '洛阳', ''] data: ['西峡', '周口', '南阳', '驻马店', '郑州', '洛阳']
}, },
y: { y: {
unit: '辆', unit: '辆',
@ -436,7 +443,8 @@ export default {
type: 'rectangle' type: 'rectangle'
}, },
showValueText: true, showValueText: true,
spaceBetween: true spaceBetween: true,
valueTextColor: '#bbb'
}, },
columnChartData6: { columnChartData6: {

View File

@ -86,8 +86,16 @@ data: {
<highlight-code> <highlight-code>
// //
data: { data: {
data: [
{
data: [....],
//
valueTextColor: 'inherit'
}
],
ringFillColor: ['rgba(61, 231, 201, 0.1)'], ringFillColor: ['rgba(61, 231, 201, 0.1)'],
ringFillType: 'mulCover', // 线mulCover ringFillType: 'mulCover', // 线mulCover
showValueText: true
} }
</highlight-code> </highlight-code>
</div> </div>
@ -172,10 +180,12 @@ export default {
radarChartData3: { radarChartData3: {
data: [ data: [
{ {
data: [450, 50, 450, 50, 450, 50] data: [450, 50, 450, 50, 450, 50],
valueTextColor: 'inherit'
}, },
{ {
data: [50, 450, 50, 450, 50, 450] data: [50, 450, 50, 450, 50, 450],
valueTextColor: 'inherit'
} }
], ],
label: { label: {
@ -196,7 +206,8 @@ export default {
ringLineColor: 'rgba(156, 244, 233, 0.2)', ringLineColor: 'rgba(156, 244, 233, 0.2)',
rayLineOffset: Math.PI * -1.5, rayLineOffset: Math.PI * -1.5,
radius: 0.8, radius: 0.8,
max: 550 max: 550,
showValueText: true
}, },
radarChartData4: { radarChartData4: {

View File

@ -72,6 +72,7 @@ export default {
background-image: url('../../assets/img/bg.png'); background-image: url('../../assets/img/bg.png');
background-size: 100%; background-size: 100%;
color: #fff; color: #fff;
min-width: 1400px;
.menu-bar { .menu-bar {
position: absolute; position: absolute;