Skip to content

Settings and activity

1 result found

  1. 614 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    Elio commented  · 

    Thanks a lot for the Plugin.

    I found two errors.
    1st: It didn't work with axis that didn't have visible series.
    2nd: In some cases it threw a max stack size exceeded error because it went into an endless loop.

    Here my working solution...
    http://jsfiddle.net/Elio/Lpq1p1f8/3/

    To avoid the first error, it takes the first yAxis that has visible series as the primaryAxis.

    2nd error:
    If the primaryIndex is higher than the current axis index, it calculates the new tick positions according to the difference between the primaryIndex and the primary tickPositions.length.