| | |
| | | |
| | | export function zhkb04() { |
| | | const myColor = ['#d0a00e', '#34da62', '#00e9db', '#00c0e9', '#0096f3'] |
| | | const data = [330, 404, 780, 509, 150] |
| | | const option = { |
| | | backgroundColor: 'transparent', |
| | | grid: { |
| | |
| | | fontSize: 16 |
| | | } |
| | | }, |
| | | data: ['12566', '12566', '12566', '12566', '12566'] |
| | | |
| | | data: data |
| | | }, |
| | | { |
| | | show: false, |
| | |
| | | name: '条', |
| | | type: 'bar', |
| | | yAxisIndex: 0, |
| | | data: [33, 44, 78, 59, 15], |
| | | data: data.map(r => r / 10), |
| | | label: { |
| | | normal: { |
| | | show: false, |
| | |
| | | } |
| | | }, |
| | | z: 2 |
| | | }] |
| | | } |
| | | ] |
| | | } |
| | | |
| | | return option |
| | |
| | | x: 'center', |
| | | top: '38%', |
| | | textStyle: { |
| | | fontSize: 12, |
| | | fontSize: 14, |
| | | color: '#FFFFFF', |
| | | fontFamily: 'DINAlternate-Bold, DINAlternate', |
| | | foontWeight: 100 |
| | |
| | | ] |
| | | const rich = { |
| | | white: { |
| | | fontSize: 12, |
| | | fontSize: 14, |
| | | color: '#fff', |
| | | fontWeight: '500' |
| | | }, |
| | | bule: { |
| | | fontSize: 12, |
| | | fontSize: 14, |
| | | fontFamily: 'DINBold', |
| | | color: '#fff', |
| | | fontWeight: 100 |