Highcharts test tool
by Torstein Hønsi
HTML
<script src="http://code.highcharts.com/radial/highcharts.js"></script>
<script src="http://code.highcharts.com/radial/highcharts-more.js"></script>
<div id="container" style="height: 400px"></div>
JavaScript
window.chart = new Highcharts.Chart({
chart: {
renderTo: 'container',
polar: 1
},
title: {
text: 'Highcharts Polar Chart'
},
subtitle: {
text: 'Warning: This is a work in progress, you will find bugs'
},
pane: {
center: ['50%', '50%'],
size: '90%',
startAngle: 0,
endAngle: 360
},
xAxis: {
tickInterval: 45,
min: 0,
max: 360
},
yAxis: {
min: 0,
tickPixelInterval: 50,
gridLineInterpolation: 'polygon'
},
legend: {
align: 'right',
verticalAlign: 'top',
y: 100,
layout: 'vertical'
},
plotOptions: {
series: {
pointStart: 0,
pointInterval: 45
},
column: {
pointRange: 0,
stacking: 'normal',
pointPadding: 0,
groupPadding: 0
}
},
series: [{
type: 'line',
data: [1, 2, 3, 4, 5, 6, 7, 8].reverse(),
shadow: false
}, {
type: 'area',
data: [1, 8, 2, 7, 3, 6, 4, 5]
}]
});