JavaScript
Highcharts.chart('container', {
chart: {
type: 'bar'
},
title: {
text: 'Current Mobilization'
},
subtitle: {
text: 'Trainings',
style: {
fontSize: '14px',
fontFamily: 'Verdana, sans-serif'
},
x:-150
},
xAxis: {
categories: ['DDU-GKY', 'DAY-NULM', 'PMKVY', 'DGT-MES', 'MoLE','MNREGA','MSDE','NSDC','NSDA','Ajeevika']
},
credits: {
enabled: false
},
exporting: {
enabled: false
},
yAxis: [{
min: 0,
title: {
text: ''
}
}, {
title: {
text: ''
},
opposite: true
}],
legend: {
shadow: false
},
tooltip: {
shared: true
},
plotOptions: {
bar: {
grouping: false,
shadow: false,
borderWidth: 0
}
},
series: [{
name: 'Target',
showInLegend: false,
color: '#0f9cff',
data: [
['DDU-GKY', 4500],
['DAY-NULM', 4500],
['PMKVY', 4500],
['DGT-MES',4500],
['MoLE', 4500],
['MNREGA', 6000],
['MSDE',4500],
['NSDC', 4200],
['NSDA', 4500],
['Ajeevika',2500],
],
pointPadding: 0.1,
pointPlacement: -0.2
},{
name: 'Achived',
showInLegend: false,
color: '#8deaf9',
data: [
['DDU-GKY',3800],
['DAY-NULM',1200],
['PMKVY', 4200],
['DGT-MES',3600],
['MoLE',4400],
['MNREGA',2100],
['MSDE',2900],
['NSDC',3750],
['NSDA',4350],
['Ajeevika',2000],
],
pointPadding: 0.4,
pointPlacement: -0.2
}]
});