exmple
by Kondal Durgam
HTML
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>
<div id="container" style="min-width: 400px; height: 400px; margin: 0 auto"></div>
JavaScript
Highcharts.chart('container', {
chart: {
type: 'bar'
},
title: {
text: ''
},
credits: {
enabled: false
},
exporting: {
enabled: false
},
xAxis: {
labels:{
enabled:false//default is true
},
categories: [
]
},
yAxis: [{
min: 0,
reversed:true,
title: {
text: ''
}
}, {
title: {
text: ''
},
opposite: true
}],
legend: {
shadow: false
},
tooltip: {
shared: true
},
plotOptions: {
bar: {
grouping: false,
shadow: false,
borderWidth: 0
}
},
series: [{
name: 'Training',
showInLegend: false,
color: '#0f9cff',
data: [800,650,540,660,350],
pointPlacement: -0.2
}, {
name: 'Achieved',
showInLegend: false,
color: '#8deaf9',
data: [347,174,253,76,70],
pointPadding: 0.4,
pointPlacement: -0.2
}]
});