jjzjj

showLastLabel

全部标签

javascript - HighCharts - 在 xAxis 中显示最后的标签

如何在xAxis中强制显示最后的标签?我尝试使用showLastLabel:true。但如您所见,这并没有真正起作用。参见示例:http://fiddle.jshell.net/X3jPh/770/ 最佳答案 除了showLastLabel属性之外,您可能还需要将endOnTick标志添加到示例中。例如://...xAxis:[{type:'datetime',showLastLabel:true,endOnTick:true},//... 关于javascript-HighCharts