123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208 |
- // echart配置
- let options = {
- echartDom: {
- title: {
- text: '',
- show: false
- },
- tooltip: {
- trigger: 'axis'
- },
- dataZoom: [{
- show: false,
- type: 'inside',
- start: 50,
- end: 100
- },
- {
- show: false,
- start: 50,
- end: 100
- }
- ],
- color: [],
- legend: {
- show: false,
- data: []
- },
- grid: {
- top: '40',
- left: '3%',
- right: '40',
- bottom: '3%',
- containLabel: true
- },
- xAxis: [{
- name: '',
- type: 'category',
- boundaryGap: false,
- data: []
- }],
- yAxis: [{
- type: 'value',
- name: ""
- }],
- series: []
- },
- echartDomShowLegend: {
- title: {
- text: '',
- show: false
- },
- tooltip: {
- trigger: 'axis'
- },
- dataZoom: [{
- show: false,
- type: 'inside',
- start: 50,
- end: 100
- },
- {
- show: false,
- start: 50,
- end: 100
- }
- ],
- color: [],
- legend: {
- data: []
- },
- grid: {
- top: '60',
- left: '3%',
- right: '40',
- bottom: '3%',
- containLabel: true
- },
- xAxis: [{
- name: '',
- type: 'category',
- boundaryGap: false,
- data: []
- }],
- yAxis: [{
- type: 'value',
- name: ""
- }],
- series: []
- },
- echartDom2: {
- legend: {
- show: false,
- top: 'top'
- },
- series: [{
- type: 'pie',
- radius: ["25%", "50%"],
- center: ['50%', '50%'],
- label: {
- alignTo: 'edge',
- minMargin: 5,
- edgeDistance: 10,
- lineHeight: 15,
- rich: {
- value: {
- fontSize: 10,
- color: '#999'
- }
- }
- },
- data: []
- }]
- },
- echart2: {
- xAxis: {
- type: 'category',
- data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
- },
- yAxis: {
- show: false,
- type: 'value'
- },
- grid: {
- bottom: 20,
- left: 10,
- right: 10,
- top: 30
- },
- color: "#CADFFA",
- series: [{
- data: [
- 120,
- {
- value: 200,
- itemStyle: {
- color: '#5498ED'
- },
- label: {
- show: true,
- position: 'top',
- color: '#5498ED',
- fontWeight: 'bold',
- fontSize: 16
- }
- },
- 150,
- 80,
- 70,
- 110,
- 130
- ],
- itemStyle: {
- normal: {
- barBorderRadius: [50, 50, 50, 50]
- }
- },
- type: 'bar'
- }]
- },
- echart3: {
- xAxis: {
- type: 'category',
- data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun', 'Tue',
- 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'
- ]
- },
- yAxis: {
- show: false,
- type: 'value'
- },
- grid: {
- bottom: 20,
- left: 10,
- right: 10,
- top: 5
- },
- color: "#E69973",
- series: [{
- data: [
- 120,
- 200,
- 150,
- 80,
- 70,
- 110,
- 130,
- 200,
- 150,
- 80,
- 70,
- 110,
- 130,
- 200,
- 150,
- 80,
- 70,
- 110,
- 130
- ],
- itemStyle: {
- normal: {
- barBorderRadius: [50, 50, 50, 50]
- }
- },
- type: 'bar'
- }]
- }
- }
|