Skip to content

Instantly share code, notes, and snippets.

Created February 3, 2017 09:58
Show Gist options
  • Save anonymous/eafc8c922afce8ab21911af878fb7974 to your computer and use it in GitHub Desktop.
Save anonymous/eafc8c922afce8ab21911af878fb7974 to your computer and use it in GitHub Desktop.
$(function () {
Highcharts.chart('container', {
chart: {
type: 'bar'
},
title: {
text: 'Events by Monitoring Server'
},
subtitle: {
text: 'January 2017'
},
xAxis: {
categories: ['Colombia', 'Mozambique', 'United Kingdom', 'Ghana CFC'],
title: {
text: null
}
},
yAxis: {
min: 0,
title: {
text: 'Number of Events',
align: 'high'
},
},
tooltip: {
valueSuffix: ' millions'
},
plotOptions: {
bar: {
dataLabels: {
enabled: false
}
}
},
credits: {
enabled: false
},
series: [{
data: [2006, 49, 6, 21],
showInLegend: false
}]
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment