Highcharts.chart('acumulado_tiempo', { chart: { zoomType: 'y', margin: [null, 40, null, null] , style: { fontFamily: 'Arial, Helvetica, sans-serif' } }, exporting: { filename: 'Acumulados (tiempo)', buttons: { contextButton: { symbolX: 14.5, symbolY: 14.5, y: 12, x: 7, symbol:'url(img/iconos-INE_img_20.png)' , symbolStrokeWidth: 1, menuItems: null, onclick: function () { this.exportChart(); } ,verticalAlign : 'bottom' } } }, credits: { enabled: false }, title: { style:{color:'#564AAC', fontSize:'16px', fontWeight:'bold'}, text:'Acumulados (tiempo)' }, xAxis: { categories:['01/03/24','10/03/24','17/03/24','24/03/24','31/03/24','07/04/24','14/04/24','21/04/24','28/04/24','05/05/24','12/05/24','19/05/24','26/05/24','29/05/24'], tickmarkPlacement: 'on', title: { enabled: false } }, yAxis: { type: 'datetime', labels: { formatter: function() { return vistaEjeY(this.value) } }, title: { enabled: false } }, legend: { alignColumns: false, layout: 'vertical', align: 'right', verticalAlign: 'middle' }, tooltip: { formatter: function() { return vista(this.x,this.y,this.series.name) } }, legend: { alignColumns: false, verticalAlign: 'bottom',itemStyle:{fontSize:'10px',fontWeight:'bold',textOverflow:'ellipsis'} }, series: [{lineWidth:3, showInLegend:true, name:'SE', color:'#9AFFDB', data:[0,124870,169351,252882,358344,422313,498869,548426,596852,661399,709903,855630,952837,1004075]},{lineWidth:3, showInLegend:true, name:'CSP', color:'#862057', data:[0,541265,928103,1239969,1446663,1764376,2160013,2377661,2679683,3040353,3252835,3490017,3814363,4015960]},{lineWidth:3, showInLegend:true, name:'BXGR', color:'#61abcd', data:[0,482687,798482,1084123,1286632,1565296,1993164,2186466,2408350,2785567,3022502,3323990,3671959,3815450]},{lineWidth:3, showInLegend:true, name:'JAM', color:'#FF8200', data:[0,196675,334652,434502,497247,616441,806455,883316,982762,1133230,1222317,1389014,1595798,1656957]}] });