Label at last data point
It would be nice to show a label between 2 ticks at the x position of the last data point.
This way you can see the most recent entry more clearly, and without having to hover over the data point.
See http://jsfiddle.net/highcharts/mAJtj/ for a possible solution using data labels.
-
Samaritan commented
if (this.point.x === this.series.data[this.series.data.length - 1].x) {
return this.y;
} else {
return null;
} -
xnagyg commented
Better implementation:
formatter: function() {
if (this.x == this.series.data[this.series.data.length-1].x) {
return this.y;
} else {
return null;
} -
Anonymous commented
I coppied it to highstocks chart... it doesnt show the lable...