Skip to content

use pageX vs. clientX #1

@awirick

Description

@awirick

clientX/clientY will fail if a user is scrolled. pageX/pageY seem better here. layersX/layersY looks like it would also work. PR coming.

Considering using relative position within the chart area and using offsetX/offsetY for positioning instead. Make more sense, or is there a reason not to go for that? Perhaps an option-able feature...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions