本文介绍了不同的时区会导致Highstock报价显示奇数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我将Highstock用于长期活动图,该图可以追溯到1天视图.但是,在该级别上,Highstock开始在一天结束的时区中以奇特的密集模式放置刻度线,如下图所示.我将UTC时间用作数据点,但让highstock将其转换为本地时间.
I'm using Highstock for a long term activity graph that can be drilled down to a 1 day view. At that level, however, Highstock begins to place tick marks in an oddly dense pattern in timezones that have had the day turn over, as seen in the image below. I am using UTC times for my data points but letting highstock convert them to local time.
推荐答案
您需要设置 pointRange 参数
这篇关于不同的时区会导致Highstock报价显示奇数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!