Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- app.title = 'FOB/Ton';
- option = {
- tooltip: {
- trigger: 'axis',
- axisPointer: {
- type: 'cross',
- crossStyle: {
- color: '#999'
- }
- }
- },
- toolbox: {
- feature: {
- dataView: {show: true, readOnly: false},
- magicType: {show: true, type: ['line', 'bar']},
- restore: {show: true},
- saveAsImage: {show: true}
- }
- },
- legend: {
- data:['FOB (DUS-AT)','FOB (DUS-LEG)','FOB (IVVC)','Tonelaje']
- },
- xAxis: [
- {
- type: 'category',
- data: ['Ene','Feb','Mar','Abr','May','Jun','Jul','Ago','Sep','Oct','Nov','Dic'],
- axisPointer: {
- type: 'shadow'
- }
- }
- ],
- yAxis: [
- {
- type: 'value',
- name: 'FOB (USD)',
- min: 0,
- max: 8000000000,
- interval: 1000000000,
- axisLabel: {
- formatter: '${value} '
- }
- },
- {
- type: 'value',
- name: 'Tonelaje',
- min: 0,
- max: 6000000000,
- interval: 1000000000,
- axisLabel: {
- formatter: '{value} ton.'
- }
- }
- ],
- series: [
- {
- name:'FOB (DUS-AT)',
- type:'bar',
- stack:'fob',
- data:[258222236.62,
- 178570324.54,
- 201593086.14,
- 412434237.41,
- 1017552375.11,
- 317129089.21,
- 329112813.45,
- 396643061.56,
- 964987179.16,
- 325555585.27,
- 398755149.33,
- 1030315911.99]
- },
- {
- name:'FOB (DUS-LEG)',
- type:'bar',
- stack:'fob',
- data:[104358958.34,
- 102193290.13,
- 71885288.05,
- 96683307.60,
- 111458965.00,
- 146741859.57,
- 259726590.80,
- 202888845.34,
- 273782497.87,
- 608842841.09,
- 2158491137.24,
- 3310455885.01]
- },
- {
- name:'FOB (IVVC)',
- type:'bar',
- stack:'fob',
- data:[659658711.60,
- 900418759.41,
- 893568180.32,
- 919874894.25,
- 381561588.18,
- 669252092.52,
- 1701954119.50,
- 1398453283.21,
- 631905386.35,
- 440585558.09,
- 868059347.08,
- 716485659.69]
- },
- {
- name:'Tonelaje',
- type:'line',
- yAxisIndex: 1,
- data:[1022239906.56,
- 1181182374.08,
- 1167046554.51,
- 1428992439.26,
- 1510572928.29,
- 1133123041.30,
- 2290793523.75,
- 1997985190.11,
- 1870675063.38,
- 1374983984.45,
- 3425305633.65,
- 5057257456.69]
- }
- ]
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement