I have a highchart which shows date label on x-axis, When there are more than 10 dates I'm using a logic of dividing the total dates by 10 and giving the resulting value to step. Because of step value it is not showing the last label. Please help if anybody know's the solution. I tried with showLastLabel and endOnTick but these are not working.
xAxis: { categories: xcategories, labels: { step: getStep(chartJson.length) } } function getStep(jsonLength){ var step =1; if(jsonLength>=10){ step= (parseInt)(jsonLength/10); } return step;; }