Skip to content

[FEATURE] Graph gets squished by legend #5561

@AppDevMichael

Description

@AppDevMichael

Hello all,

So I found a 'feature' the graph gets squished by the legend.

What should happen is that the graph should get pushed down and the size of the graph stays the same without having to put the legend in a separate container.

Instead of the graph being pushed down the legend just pushes down the top of the graph and the bottom stays in the same position.

The height of the graph(excluding the legend) should be able to be set in the options.

To reproduce, add data sets and and then you will see.

I am using it to show lot's of data sets that are added and removed in real time.

Thanks in advance. 😃

Chart.js version: 2.7.2
Browser name and version: Firefox 60.0.2
Link to your project: Clicky!

Before:

capture

After:

capture1

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