Lines on Y Axis_SO
http://stackoverflow.com/questions/12728191/highcharts-stacked-column-chart-with-with-irregular-time-intervals-possible#comment17202234_12728191
by kannankeril
HTML
<script src="http://code.highcharts.com/stock/highstock.js"></script>
<script src="http://code.highcharts.com/stock/modules/exporting.js"></script>
<div id="container" style="height: 400px; min-width: 500px"></div>
JavaScript
$(function() {
// Create the chart
window.chart = new Highcharts.StockChart({
chart : {
renderTo : 'container'
},
rangeSelector : {
selected : 0
},
navigator : {
enabled: false
},
title : {
text : 'Timeline'
},
yAxis : {
title : {
text : 'Section Name'
},
labels: {
formatter: function() {
return "";
}
}
},tooltip: {
crosshairs:false
},
plotOptions: {
series: {
dataLabels: {
enabled: true,
formatter: function() {
// Can be used to show point name (if defined)
return this.name;
},
y: -10
}
}
},
series : [{
name: 'Manny',
color: 'brown',
data:[
[Date.UTC(2011,2,1),0.72],
[Date.UTC(2011,2,4),0.72],
]
},{
name: 'Manny',
color: 'blue',
data:[
[Date.UTC(2011,2,4),0.72],
[Date.UTC(2011,2,5),0.72],
]
},{
name: 'Manny',
color: 'brown',
data:[
[Date.UTC(2011,2,8),0.72],
[Date.UTC(2011,2,10),0.72],
]
},{
name: 'Manny',
color: 'blue',
data:[
[Date.UTC(2011,2,10),0.72],
...