Highcharts: Line with pie for colors .
Line (polar chart) with pie for colors.
HTML
<script src="//code.highcharts.com/highcharts.js"></script>
<script src="//code.highcharts.com/modules/exporting.js"></script>
<script src="//code.highcharts.com/highcharts-more.js"></script>
<div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
JavaScript
$(function () {
$('#container').highcharts({
chart: {
polar: true
},
title: {
text: 'Monthly Average Temperature',
x: -120 //center
},
subtitle: {
text: 'Source: WorldClimate.com',
x: -20
},
xAxis: {
categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun']
},
yAxis: {
title: {
text: 'Temperature (°C)'
},
plotLines: [{
value: 0,
width: 1,
color: '#808080'
}]
},
tooltip: {
valueSuffix: '°C'
},
plotOptions: {
pie: {
allowPointSelect: true,
cursor: 'pointer',
dataLabels: {
enabled: false
}
}
},
/*legend: {
layout: 'horizontal',
align: 'middle',
verticalAlign: 'bottom',
borderWidth: 0
},*/
series: [{
type: "pie",
size: '91%',
name: 'Sample',
data: [1,1,1,1,1,1,1,1,1,1,1,1]
}]
});
});