I want to show the value of open, close, high and low for a symbol but it seems highstock only displays that value when chart type is ohlc or candlestick but not in line. My workaround for this problem is producing two chart with same data, line(making it visible) and ohlc(making it invisible) and extracting open, close, high and low from second type and displaying it in tooltip. I'm sure this is not a right way. Does anyone has any solution.
My tooltip formatter
formatter: function() {
var s=' ';
$.each(this.points, function(i, series) {
//when the series is of type 'line', series.point.open is undefined but works great on 'ohlc' type
n=new Date(series.point.x);
s += 'Open: <span style="font-weight:bold">' +series.point.open + '</span> Close: <span style="font-weight:bold">' +series.point.close + '</span> High: <span style="font-weight:bold">'+ series.point.high + '</span> Low: <span style="font-weight:bold">' + series.point.low + '</span>';
});
return s;
}