Skip to content

Vertical Lines are not aligned properly across levels when Highcharts starts sampling #219

@nishikantparmariam

Description

@nishikantparmariam

Reproducer - https://jsfiddle.net/u694sd0z/

When there is sampling in original ticks due to large no. of x-values i.e. not all ticks are visible for each category then vertical lines across levels are not aligned properly, can you please fix the issue or help us in understanding how it can be fixed?

image

Possibly it is related to considering only the current active ticks (tick.isActive) for figuring out position for a category and not all ticks (group.leaves) ?

minPos = tickPosition(tick, mathMax(group.startAt - 1, min - 1));
maxPos = tickPosition(tick, mathMin(group.startAt + group.leaves - 1 - fix, max));

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions