HighCharts - show recent tags in xAxis

How can I make the latest shortcuts show in xAxis? I tried using showLastLabel: true. But, as you can see, it really does not work.

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

+7
source share
1 answer

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

 //... xAxis: [{ type: 'datetime', showLastLabel: true, endOnTick: true }, //... 
+13
source

All Articles