document.addEventListener("DOMContentLoaded", function(event) {
Highcharts.chart('grafico1', {
credits: {
enabled: false
},
title: {
text: 'Revenue by brand'
},
yAxis: {
title: {
text: ' $'
}
},
legend: {
layout: 'vertical',
align: 'right',
verticalAlign: 'middle'
},
plotOptions: {
series: {
pointStart: 1
}
},
series: [{
name: 'Brand 1',
data: [23, 27, 32, 26, 25, 27, 22, 19]
}, {
name: 'Brand 2',
data: [45, 49, 43, 41, 42, 41, 38, 34]
}, {