Adyen / lume

Lume is a component library for visual representations of data, built for Vue with D3.
https://lumedataviz.com
MIT License
37 stars 1 forks source link

Render `null` values sequential values as a single line #300

Open joao-m-santos opened 9 months ago

joao-m-santos commented 9 months ago

Feature description

Right now, all lines in lume-line-chart are rendered with single paths between each data point.

To improve dashed line display for null values, we should find a way to render a single path for all null sequential values.

Problem/motivation

Currently, if there are multiple, sequential null values, the dashed lines will not display in a clear way.

Describe alternatives you've considered

No response

Additional context

This was reported as an issue by a consumer, so there's a use case for it. Though consumers should also think about limiting the data points / chart width.

Validations