Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stepped line chart with null values removes two line segments instead of one #4787

Open
LaurEliPar opened this issue Nov 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@LaurEliPar
Copy link

Description

Steps to Reproduce

  1. Create a stepped line chart with a null value in the data (ex. data: [2, 4, 1, 2, 0, 2, 4, null, 2, 0])

Expected Behavior

In the case of a stepped line chart, one line segment should be removed (the one following the data point)

Actual Behavior

The horizontal line segments after and before the data point are both removed. This makes sense for a regular line chart, but not for a stepped line chart.

Screenshots

image
image
horizontal line should appear here, between 2023-07-01 and 2023-08-01

Reproduction Link

(https://codepen.io/Elizabeth-Lake/pen/YzmjNxY)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant