Highchart - highstock滚动与缩放不同步

时间:2014-03-04 05:41:17

标签: highcharts highstock lazy-high-charts

我有一个图表,我正在显示非常小的间隔时间数据(接近2分钟),当我使用图表centre处的拖动放大时,对服务器的调用获取缩放数据但是在x轴处,导航器(水平滚动)将放大的数据移动到它应该位于时间线中心的extreme left

Say for example timeline has interval in seconds as below

0---30---60---90---120
and I zoom in at 30 to 90
The navigator or scroll axis should have stayed at 0---120 and the focus part should be 30---90
but In my case it changing the navigator to 30 to 120 and focus area moves to extreme left.

Note: with bigger time intervals it works fine

1 个答案:

答案 0 :(得分:0)

导航器调用setExtremes功能,可在任意轴上设置范围。不幸的是它是默认行为,你不能部分缩放图表。