Skip to content

Error when one single data value per serie in a stacked column chart #444

@markusand

Description

@markusand

I'm using a stack bar chart, and after some filters the dataset may contain one single single data point per serie

[
  { name: "Tripper", data: [{ x: "2019-02-28T23:00:00.000Z", y: 129689 }] },
  { name: "Overnighter", data: [{ x: "2019-02-28T23:00:00.000Z", y: 462186 }] }
]

Then no bar is drawn and 60 errors like the following appear

Error: Problem parsing d="M 59.769642857142856 390.169397515528L 59.769642857142856 365.07977116906835L 111.00076530612245 365.07977116906835L 111.00076530612245 390.169397515528L 59.769642857142856 390.169397515528L -3.6271814065499956e+301 390.169397515528L 3.6271814065499956e+301 390.169397515528L 3.6271814065499956e+301 390.169397515528L 3.6271814065499956e+301 390.169397515528L -3.6271814065499956e+301 390.169397515528"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions