Skip to content

Uncaught TypeError: Cannot read properties of undefined (reading 'defaultFontFamily') #464

@koa73

Description

@koa73

I'm try to use your plugin but get this error just after load chartjs-plugin-annotation.js. I tried some examples in the end I tried your sample code https://github.com/chartjs/chartjs-plugin-annotation/blob/master/old_samples/box.html but result was the same. Sorry may be it's stupid question and I lost some info how to use it

chartjs-plugin-annotation.js:485 Uncaught TypeError: Cannot read properties of undefined (reading 'defaultFontFamily')
at Object.6../annotation.js (chartjs-plugin-annotation.js:485)
at s (chartjs-plugin-annotation.js:10)
at e (chartjs-plugin-annotation.js:10)
at chartjs-plugin-annotation.js:10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions