$(function () { $('#container').highcharts({ chart: { plotBackgroundColor: null, plotBorderWidth: 0, plotShadow: false }, title: { text: '"Exportaciones"
Principales mercados de Comercio Exterior
"Importaciones"', align: 'center', verticalAlign: 'middle', y: -15 }, tooltip: { pointFormat: '{series.name}: {point.percentage:.2f}%' }, plotOptions: { pie: { dataLabels: { enabled: true, distance: -50, style: { fontWeight: 'bold', color: 'white', textShadow: '0px 1px 2px black' } } } }, series: [{ type: 'pie', name: 'Export', innerSize: '50%', data: [ ['Brasil', 1988.25], ['Argentina', 1292.47], ['EE.UU.', 1031.55], ['Colombia', 371.38], ['Perú', 293.58], ['Corea del sur', 200.48], ['Japón', 190.14], ['China', 181.59], ['Otros', 920.13] ], startAngle: -90, endAngle: 90, center: ['50%', '45%'] }, { type: 'pie', name: 'Import', innerSize: '50%', data: [ ['China', 769.02], ['Brasil', 756.37], ['EE.UU.', 542.42], ['Argentina', 531.93], ['Perú', 306.81], ['Chile', 222.38], ['Japón',218.99], ['México', 145.79], ['Otros', 1245.44] ], startAngle: 90, endAngle: 270, center: ['50%', '55%'] }] }); });