Skip to content

Broken tooltips with scatter line chart #2757

Description

@kolinger

I have scatter line chart with two datasets and tooltips set to "label" mode. First dataset have 2 values and second 3 values.

In this configuration some values have broken tooltips - tooltip will not show and chart will fail in console with message "Chart.bundle.js:11561 Uncaught TypeError: Cannot read property '_index' of undefined".

This is because first dataset is missing first value.

Can be reproduced by this code - http://codepen.io/kolinger/pen/YWqyxg?editors=0010
Try hover on
x=Jan 12, 10AM
y=15

Tested with lastest version (2.1.4).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    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