Highcharts Demo
Kondal
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>
<script src="https://code.highcharts.com/modules/export-data.js"></script>
<div id="container" style="min-width: 400px; height: 400px; margin: 0 auto"></div>
JavaScript
Highcharts.chart('container', {
chart: {
type: 'column'
},
title: {
text: 'Efficiency Optimization by Branch'
},
xAxis: {
categories: [
'Seattle HQ',
'San Francisco',
'Tokyo'
]
},
yAxis: [{
min: 0,
title: {
text: 'Employees'
}
}, {
title: {
text: 'Profit (millions)'
},
opposite: true
}],
legend: {
shadow: false
},
tooltip: {
shared: true
},
plotOptions: {
column : {
pointPadding : 0,
borderWidth : 0,
pointWidth: 15
},
spline: {
marker: {
radius: 8,
lineWidth: 0
}
}
},
series: [{
color:"#013867",
name: 'Companies Attended',
data: [300, 450, 350, 320]
}, {
color:"#3EB7BD",
name: 'Jobs Offered',
data: [200, 250, 250, 270],
yAxis: 1
},{
type: 'line',
color:'#81CAED',
name: 'Average Salary',
data: [250, 200, 350, 450],
marker: {
symbol: 'square',
radius: 7
},
}]
});