Skip to content

Instantly share code, notes, and snippets.

@incomestore
Created November 6, 2014 20:02
Show Gist options
  • Save incomestore/bd524b0a17d36641fb27 to your computer and use it in GitHub Desktop.
Save incomestore/bd524b0a17d36641fb27 to your computer and use it in GitHub Desktop.
bar chart
// technical overview bar chart
$('#technical-score-overall').highcharts({
chart: {
type: 'column'
},
credits: false,
plotOptions: {
column: {
pointPadding: -1,
borderWidth: 0
},
series: {
pointWidth: 40
}
},
series: [{
name: 'Tokyo',
data: [49.9, 71.5, 106.4, 129.2]
}, {
name: 'New York',
data: [83.6, 78.8, 98.5, 93.4]
}],
title: {
text: null
},
xAxis: {
lineWidth: 0,
minorGridLineWidth: 0,
lineColor: 'transparent',
labels: {
enabled: false
},
minorTickLength: 0,
tickLength: 0
},
yAxis: {
title: {
text: 'Rainfall (mm)'
},
lineWidth: 0,
minorGridLineWidth: 0,
lineColor: 'transparent',
labels: {
enabled: false
},
minorTickLength: 0,
tickLength: 0,
gridLineColor: 'transparent'
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment