1.) Well, I think you want to set labelText for each bar. Add the following line to the for loop:
labelText = series.xaxis.ticks[i / ps].label;
Also see updated example .
2.) You can add your own values ββto data , for example. to mark the latter:
var data = [ { label : 'Used', color : '#EF7816', data : [ [ 1, 85], [ 2, 50 ], [ 3, 18], [ 4, 8 ] ], last : false }, ... { color : '#F8C095', data : [ [ 1, 12], [ 2, 10], [ 3, 3], [ 4, 2] ], last : true } ];
In your hook you can check the flag:
if (series.last) { ...
Also see the following updated example .
source share