Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Can't use chartjs-plugin-datalabels #6

Open
@Tyler-RCSD

Description

@Tyler-RCSD

I am trying to add the chartjs-plugin-datalabels plugin to my charts and I think I've figured out how to add it.

I've created a minimal casehere.

The problem is that I get this error:

chartjs-plugin-datalabels.js?a9be:155 Uncaught TypeError: Cannot read property 'x' of null    at orient (chartjs-plugin-datalabels.js?a9be:155)    at Object.fallback (chartjs-plugin-datalabels.js?a9be:379)    at coordinates (chartjs-plugin-datalabels.js?a9be:847)    at Object.draw (chartjs-plugin-datalabels.js?a9be:1011)    at Object.afterDatasetsDraw (chartjs-plugin-datalabels.js?a9be:1330)    at Object.notify (coreui-vue-chartjs.common.js?f485:10882)    at Chart.drawDatasets (coreui-vue-chartjs.common.js?f485:12767)    at Chart.draw (coreui-vue-chartjs.common.js?f485:12695)    at Chart.render (coreui-vue-chartjs.common.js?f485:12649)    at Object.callback (coreui-vue-chartjs.common.js?f485:5071)

I did some research and foundthis but I can't figure out how to implement it. There are also suggestions of downgrading to a 2.7.x version of chartjs but I think I'd have to rebuild coreui/vue-chartjs to even attempt that.

Any suggestions?

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


      [8]ページ先頭

      ©2009-2025 Movatter.jp