Highcharts test tool
by Black Label
HTML
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>
<script src="https://rawgit.com/highcharts/rounded-corners/master/rounded-corners.js"></script>
<div id="container"></div>
CSS
#container {
min-width: 300px;
max-width: 800px;
height: 300px;
margin: 1em auto;
}
JavaScript
Highcharts.chart('container', {
chart: {
type: 'column'
},
title: {
text: 'Highcharts rounded corners plugin'
},
xAxis: {
categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'
]
},
plotOptions: {
series: {
stacking: 'normal'
}
},
series: [{
borderRadiusTopLeft: '50%',
borderRadiusTopRight: '50%',
data: [1, 2, 3, 0, 4]
}, {
data: [1, 2, 2, null, 2],
id: 's2',
color: 'black',
name: 'S2'
}, {
color: 'black',
name: 'S2',
linkedTo: 's2',
borderRadiusTopLeft: '50%',
borderRadiusTopRight: '50%',
data: [{
x: 3,
y: 2
}]
}]
});