Program summery final
Kondal
HTML
<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: 310px; height: 400px; margin: 0 auto"></div>
JavaScript
Highcharts.chart('container', {
chart: {
type: 'column'
},
title: {
text: ''
},
xAxis: {
categories: [
'Mobilization',
'Training',
'Employment',
],
},
yAxis: {
min: 0,
title: {
text: ''
}
},
legend: {
layout: 'vertical',
align: 'right',
verticalAlign: 'top',
x: -30,
y: 30,
floating: true,
borderWidth: 1,
backgroundColor: (Highcharts.theme && Highcharts.theme.legendBackgroundColor) || '#FFFFFF'
},
tooltip: {
headerFormat: '<span style="font-size:10px">{point.key}</span><table>',
pointFormat: '<tr><td style="color:{series.color};padding:0">{series.name}: </td>' +
'<td style="padding:0"><b>{point.y:.} </b></td></tr>',
shared: true,
useHTML: true
},
credits: {
enabled: false
},
exporting: {
enabled: false
},
plotOptions: {
column: {
pointPadding: 0.1,
borderWidth: 0
}
},
series: [{
name: 'Target',
color:'#1d3166',
data: [50000, 44200,35400]
}, {
name: 'Achieved',
color:'#70d8ff',
data: [39700, 32300, 28815]
},]
});