| | |
| | | const titlename = titlenameArr |
| | | |
| | | const valdata = [683, 500, 400, 300, 200] |
| | | const myColor = ['#FF0000', '#FF5511', '#FF8800', '#FFBB00', '#FFFF00'] |
| | | // const myColor = ['#FF0000', '#FF5511', '#FF8800', '#FFBB00', '#FFFF00'] |
| | | // const myColor = ['#0000FF'] |
| | | // const myColor = ['#7af5f5', '#00FFFF', '#00FFFF', '#00FFFF', '#00FFFF'] |
| | | const myColor = ['rgba(122,245,245,1)', 'rgba(122,245,245,0.95)', 'rgba(122,245,245,0.9)', 'rgba(122,245,245,0.85)', 'rgba(122,245,245,0.8)'] |
| | | const option = { |
| | | backgroundColor: 'transparent', |
| | | title: { |
| | |
| | | } |
| | | }, |
| | | grid: { |
| | | left: '2%', |
| | | right: '2%', |
| | | left: '10%', |
| | | right: '5%', |
| | | bottom: '0%', |
| | | top: '10%', |
| | | containLabel: true |
| | |
| | | // color: '#d8d7d9', |
| | | color: '#fff', |
| | | fontSize: 14, |
| | | formatter: function(value, index) { |
| | | return [ |
| | | '{lg|' + (index + 1) + '、 }' + '{title|' + value + '} ' |
| | | ].join('\n') |
| | | }, |
| | | // formatter: function(value, index) { |
| | | // return [ |
| | | // '{lg|' + (index + 1) + '、 }' + '{title|' + value + '} ' |
| | | // ].join('\n') |
| | | // }, |
| | | rich: { |
| | | lg: { |
| | | // backgroundColor: '#339911', |