var webformReport = {}; Drupal.behaviors.webformReport = function (context) { $('#container').highcharts({ chart: { type: 'column' }, title: { text: 'Monthly Average Rainfall' }, subtitle: { text: 'Frecuencias' }, xAxis: { categories: ['Africa'] }, yAxis: { min: 0, title: { text: 'Rainfall (mm)' } }, tooltip: { headerFormat: '{point.key}', pointFormat: '' + '', footerFormat: '
{series.name}: {point.y:.1f} mm
', shared: true, useHTML: true }, plotOptions: { column: { pointPadding: 0.2, borderWidth: 0 } }, series: [{ name: 'DistribuciĆ³n de Frecuencia', data: [973, 914, 4054, 732, 34] }] }); }