Skip to content

Interpolation fails for x=time when data for y has gaps #44

@angiehjort

Description

@angiehjort

see this line chart

image

here is the original data in purple and how interpolation result should look like in green

image

Turns out there is an error in vizabi core:
the field "x" doesn't get interpolated and instead of 1996 1997 1998 1999 2000 it shows 1996 2000 2000 2000 2000

my fix in the commit below is ugly, but it works.
but it's ugly, can it be done more elegant?

the result should look like this then

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions