Skip to content

Rendering fitted end point shows periodically  #1473

@nickofthyme

Description

@nickofthyme

Describe the bug
When using a fitting function where the data creates an orphan point. The canvas renderer will flip-flop seemingly based on width whether to render the area as filled (incorrect) or an orphan point.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the stacked fitting function story
  2. Select ordinal x dataset
  3. Drag sidebar/window to change the chart width
  4. Notice the area between l and m on series test will flash filled and unfilled.
Screen.Recording.2021-11-09.at.05.25.32.PM.mp4

Expected behaviour
There should be no flickering and the orphan point should have no fill.

Good 👍🏼

image

Bad 👎🏼

image

Version (please complete the following information):

  • OS: Mac
  • Browser: Chrome
  • Elastic Charts: latest

Metadata

Metadata

Assignees

No one assigned

    Labels

    :xyBar/Line/Area chart relatedImpact:HighbugSomething isn't working

    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