Skip to content

Polyline layer turns black after turning off all legend filters (legend: true + preferCanvas: false) #272

@hupe13

Description

@hupe13

Hi Raruto,

if I toggle all chart legend filter off, the polyline is black. Example.

image

Your example works as expected.

If I comment out these lines

if (!this._chartEnabled) {
this._chart._hideDiagramIndicator();
this._marker.remove();
}

it works for me too.

What is the expected behavior? Or what is missing in my code?

Thank you very much.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions