Skip to content

Max value line is wrongly positioned #220

@NathanAP

Description

@NathanAP

Hello! I'm new to this library so I'm not really sure if everything is fine, but I have the following chart:

Image

The tooltip you are looking here is the blue boxplot. As you can see, the value of it is at 115.69, but the max axis is pointing lower than 100. This is happening in all of those boxplot as well, they're all wrongly placed / positioned in the chart. All others axis (min, q1, median, mean and q3) are fine.

This is the data:

{
  "label": "Assistente de Primeira base",
  "minValue": 71.84,
  "q1Value": 78.26,
  "medianValue": 81.93,
  "avgValue": 84.0,
  "q3Value": 85.76,
  "maxValue": 115.69
}

which leads to this:

{
  min: 71.84,
  q1: 78.26,
  median: 81.93,
  mean: 84,
  q3: 85.76,
  max: 115.69,
}

PS: all data are placeholders, there is nothing sensitive here.

I'm not sure this is something I'm doing wrong or what...

To Reproduce

  1. Honestly I just created the chart with those values.

Expected behavior

All values should be shown in the correct placement, but the max value seems off.

  • Version: 4.4.5 with Vue in 3.5.22 and Vite at 7.1.7
  • Browser: Chrome

edit: I fixed the json.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions