Highcharts test tool
by jdmyers
HTML
<script src="http://code.highcharts.com/highcharts.js?1"></script>
<div id="container" style="height: 300px"></div>
JavaScript
// mapping between SVG attributes and the corresponding options
Highcharts.seriesTypes.column.prototype.pointAttrToOptions.dashstyle = 'dashStyle';
var chart = new Highcharts.Chart({
chart: {
renderTo: 'container',
type: 'column'
},
xAxis: {
categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
},
series: [{
data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4],
borderColor: 'red',
color: 'white',
dashStyle: 'dash',
stacking: 'normal'
},{
data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4],
stacking: 'normal',
borderWidth: 0
}]
});