【问题标题】:Highchart - highstock scroll out of sync with zoomHighcharts - highstock 滚动与缩放不同步
【发布时间】:2014-03-04 05:41:17
【问题描述】:

我有一个图表,我在其上显示非常小的间隔时间数据(接近 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

【问题讨论】:

    标签: highcharts highstock lazy-high-charts


    【解决方案1】:

    导航器调用setExtremes 函数在任何轴上设置范围。不幸的是,这是默认行为,您不能部分缩放图表。

    【讨论】:

    • 所以说你不能部分缩放图表......我不能通过拖动或拉动滚动条的极端来放大???
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-01-26
    • 2019-06-17
    相关资源
    最近更新 更多