Skip to content

Stash SVG points selections for faster pan #2548

Description

@etpinard

PR #2527 introduced a 'draggedPts' trace category (see #2527 (comment)) which was later deemed a potential overkill by @alexcjohnson in #2527 (comment) to make the pan hot code path avoid large .selectAll() (which can be very slow).

What we should try to do instead is: stash those points selections (probably in fullLayout._plots[subplotId]) early (probably during the trace plot step) and use them directly in pan (and scroll?) hot code path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions