Highcharts Demo
author(s):
Torstein Hønsi
by Santosh Giridhara
HTML
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>
<script src="https://code.highcharts.com/modules/export-data.js"></script>
<div id="container" style="min-width: 310px; max-width: 800px; height: 400px; margin: 0 auto"></div>
JavaScript
Highcharts.chart('container', {
chart: {
type: 'bar'
},
title: {
text: ''
},
xAxis: {
categories: ['Week 51', 'Week 52', 'Week 53', 'Week 54', 'Week 55']
},
yAxis: {
min: 0,
title: {
text: '',
align: 'high'
},
labels: {
overflow: 'justify'
}
},
plotOptions: {
bar: {
dataLabels: {
enabled: true
}
}
},
legend: {
enabled:true
},
credits: {
enabled: false
},
series: [{
name: 'Movements',
data: [107, 31, 635, 203, 2]
}, {
name: 'Mindfulness',
data: [133, 156, 947, 408, 6]
}]
});