Skip to content

Layout / autoSkip issue #8565

@kurkle

Description

@kurkle

Expected Behavior

autoSkip should be done using the final _length of the scale

Current Behavior

autoSkip is not run after the final configure, and for example here, y-scale length during autoSkip contains the title and legend height:

image

image

Possible Solution

re-run autoSkip on the 2nd round of layout?

Steps to Reproduce

https://jsfiddle.net/z7Lek49m/3/

Context

Was taking a look at #3694 with current master

Environment

  • Chart.js version: 3.0.0-beta.12 / master

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