Skip to content

Bar Chart cannot be created using ChartJS library (Uncaught Error: "horizontalBar" is not a registered controller) #867

@vytisbulkevicius

Description

@vytisbulkevicius

Description:

After the latest update (probably since we updated the library to the latest version) it's not possible to create a Bar Chart using the ChartJS library: https://vertis.d.pr/Im2ZeO

When you click create you get a blank page and error in the console:
https://vertis.d.pr/QyL88C

How to reproduce:

  1. Click to create a new Bar chart using Chart JS library
  2. You should get a blank page with an error in the console

Expected behaviour:

Bar chart should be created using Chart JS library.

Current behaviour:

A blank page appears instead.

Reference:

Screenshots are provided above.
Reported here - https://secure.helpscout.net/conversation/1707469583/300739/

Technical info

  • WordPress version: 5.8.2
  • Plugin version: 3.7.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis label could be used to identify issues that are caused by a defect in the product.releasedIndicate that an issue has been resolved and released in a particular version of the product.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions