Skip to content

Markers deviate from price point when zooming in when size is larger than 1 #2002

@hodlerhacks

Description

@hodlerhacks

Lightweight Charts™ Version:

Steps/code to reproduce:

Place arrow up/down markers using atPriceBottom or atPriceTop as the position. Zoom in on the chart.
AND use a size setting larger than 1 for the markers

Actual behavior:

The arrow starts to malform and the tip deviates from the given price point.

Expected behavior:

The arrow should maintain its shape and the tip should be at the given price point, just like when zoomed out.

Screenshots:

See screenshots

Zoomed out:
Image

Zoomed in:
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUnexpected problem or unintended behavior.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions