Skip to content

[BUG] Lines go back and forth when they are left to ticks.min #3502

@robertwhitebit

Description

@robertwhitebit

Lines less than xAxes.ticks.min behave weird and maybe shouldn't be rendered at all. Or if rendered, they should be rendered correctly. As you can see in the image, they go back and forth.

image

used dataset is random

for (var i = -100; i < 100; i++) {
    data.push({x: i, y: Math.random()});
}

You can inspect the behavior live at http://codepen.io/anon/pen/wzNrGq

If you change the added points to data.push({x: i, y: Math.abs(i)});(linear, straight line), it will look like:

image

However, the left side should mirror the right side. (or not displayed at all)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions