开发者

HighCharts - show last labels in xAxis

开发者_StackOverflowHow can I force to show last labels in xAxis? I tried to use showLastLabel: true. But as you see doesn't really work.

See example: http://fiddle.jshell.net/X3jPh/770/


In addition to the showLastLabel property, you may need to add the endOnTick flag to your example. For example:

//...

xAxis: [{
    type: 'datetime',
    showLastLabel: true,
    endOnTick: true
},

//...


Use tickPositions Array:(number) to specifically identify which indices you want displayed on your xAxis.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜