Skip to content

Title does not appear when configuration includes plugins #12077

Open
@raysuelzer

Description

@raysuelzer

Expected behavior

The title options should work when plugin object is used in configuration.

Current behavior

When a configuration object contains "plugins", title plugin options no longer work. You can see in the pen, one chart contains plugins and the other does not. The one without plugins shows the title, when including a plugin the title no longer works.

Reproducible sample

https://codepen.io/raysuelzer/pen/raVBBWZ

Optional extra steps/info to reproduce

No response

Possible solution

No response

Context

We cannot use titles or subtitles on our charts when using the tooltip plugin

chart.js version

v4.4.9

Browser name and version

Edge Latest, Chrome Latest, Firefox Latest

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