Skip to content

[BUG] ExtraEasy chart with Bar + Custom plugin extends Bar - Bars overlap & render displayed incorrect #12001

Open
@GitCatacao

Description

@GitCatacao

[BUG]

As you can read there's an ExtraEasy chart, just for example.

I really like chart.js and I want to make graphs for everything now.
But there is a problem.


Creating a very simple custom plugin that extends the bar makes the graph appear on the display in a very strange way.
The bars overlap each other if some series are hidden (I'm talking about the default bars, not the custom type).

Look at the example to understand, because it is much easier to see than to explain.

If you select all series instead the graph is displayed correctly.

Is there a fix for this?

[The bars and the custom bars must be positioned at the same point on the x-axis (not side by side)]


Reproducible sample to watch

https://jsfiddle.net/yvkdwg9e/

Chart.js Version:

The sample it's with the right now lastest v4.4.7 from cdn (jsdelivr.net)

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