Highcharts test tool
by AbhishekRohan
HTML
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://rawgit.com/highcharts/rounded-corners/master/rounded-corners.js"></script>
<div id="container"></div>
CSS
#container {
min-width: 200px;
max-width: 500px;
height: 200px;
margin: 1em auto;
}
JavaScript
Highcharts.chart('container', {
chart: {
type: 'bar'
},
title: {
text: ''
},
credits :{
enabled : false
},
xAxis: {
categories: ['Average runtime', 'Average Creation']
},
legend: {
itemStyle: {
//color: 'red',
}
},
yAxis: {
min: 0,
gridLineWidth : 0,
title: {
text: ''
},
},
plotOptions: {
series: {
borderRadiusTopLeft: '50%',
borderRadiusTopRight: '50%',
pointWidth: 20
}
},
series: [{
name : "Time(in Minutes)",
data: [
{
y :29.9,
color: 'red'
},
{
y: 71.5,
name: 'kernh',
color: 'rgba(165,170,217,1)',
}
]
}
]
});