Skip to content

Line series with different x values are hidden #825

@nickofthyme

Description

@nickofthyme

Describe the bug
Using LineSeries with different x values causes line to not be drawn correctly.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://codesandbox.io/s/priceless-wind-clh9f?file=/src/App.tsx
  2. Notice the lack of connected lines
  3. Toggle overall data, notice correct rendering of browser data
  4. Toggle browser data, notice correct rendering of overall data

Also see https://dev-next-oblt.elastic.dev/app/csm?rangeFrom=now-24h&rangeTo=now&serviceName=elastic-co-frontend

Expected behaviour
All lines are connected between respective points

Screenshots
image

Version (please complete the following information):

Additional context
The overall_data has different x values that the browser_data which is likely causing the discontinuity.

Metadata

Metadata

Assignees

Labels

:dataData/series/scales related issuebugSomething isn't workingregressionreleasedIssue released publicly

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions