Skip to content

Line chart with stack mode and max value - overflow #10686

@shellyEldman

Description

@shellyEldman

Expected behavior

values over max value should not be shown

Current behavior

When i have two axises with "stack" mode and one of them has min and max values, the chart is overflows the max value.

image

Reproducible sample

https://codesandbox.io/s/react-chartjs-2-chart-js-issue-template-cg7b5?file=/src/App.tsx

Optional extra steps/info to reproduce

No response

Possible solution

No response

Context

No response

chart.js version

^3.8.0

Browser name and version

No response

Link to your project

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions