Replies: 1 comment 2 replies
-
@lam0819 have a look to this issue: chartjs/chartjs-plugin-annotation#960 (comment) CHartJS plugin annotation needs to be registered (see readme https://github.com/chartjs/chartjs-plugin-annotation and doc https://www.chartjs.org/chartjs-plugin-annotation/3.1.0/guide/) @danharrin in this comment #4182 (comment) you are reporting this is not a filament bug. I agree but there is partial documentation how to register the Chart.js plugins. In the doc, you are assuming that all plugins are
In case of inline plugin, in file filament-chart-js-plugins.js:
In case of global plugins, in file filament-chart-js-plugins.js:
In case of mixed plugins, in file filament-chart-js-plugins.js:
|
Beta Was this translation helpful? Give feedback.
-
In my case,
I want to use chartjs plugin, chartjs-plugin-annotation and chartjs-plugin-datalabels.
is there any idea why this happen?
Here is the code.
`<x-filament::widget class="filament-widgets-chart-widget2">
x-filament::card
</x-filament::widget>
`
here is the result
Beta Was this translation helpful? Give feedback.
All reactions