Skip to content

Point markers on a line series stop rendering when using per-point colors #2017

@whis

Description

@whis

Lightweight Charts™ Version: 5.0.8

Code to reproduce:
https://jsfiddle.net/dbto9v83/9/

Actual behavior:

When assigning a custom color to each data point, point markers render only up to the last data point that shares the same color. As soon as the series encounters a point with a different color, all subsequent markers stop rendering.

Additionally, the line color appears to update one bar later than expected.

Expected behavior:

Point markers should render for all data points, regardless of whether each point has a different color.

Screenshots:

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