Skip to content

[xyChart] When switching the seriesProps, the chart doesn't render first series #868

@mbondyra

Description

@mbondyra

Describe the bug
When I want to programatically reorder yAccessors in xy_chart, the first series is not displayed.
I’ve simplified the example here in codesandbox – toggle the 'click' button - the series should switch and display in order from [1,2,3] to [2,1,3], but only the second and third series is visible.

https://codesandbox.io/s/charts-interval-bug-l8th9?file=/src/App.tsx

Version (please complete the following information):

  • current Kibana version (master)

Metadata

Metadata

Assignees

Labels

:specsChart specifications related issue:xyBar/Line/Area chart relatedbugSomething isn't workingreleasedIssue 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