该问题最好在以下小提琴中进行描述: https ://jsfiddle.net/bernhard_kern/85s2fm5a/3/ 。我们使用两个系列和两个 xAxis。
xAxis: [{
type: 'datetime',
min: new Date('2016/02/22').getTime(),
max: new Date('2016/03/05').getTime()
}, {
type: 'datetime',
min: new Date('2015/02/22').getTime(),
max: new Date('2015/03/06').getTime()
}],
我想比较由于闰年(2016 年,2 月 29 日)而具有不同数量的值的年度时间序列。
要求: 即使有闰年,也要在下方显示相同的日期。
在示例中,您可以看到Mar 1 显示在 Feb 29 下方。对于非闰年时间序列,应该有一个差距。即使我在 3 月 1 日添加了一个 null 值,我也无法停止 room time continuum。
有人可以帮助我吗?