0👍
We are using vue-chartjs
and chartjs-adapter-luxon
together without issues. Our Vue app has a module which imports ChartJS to register all the features we use, and it imports the luxon adapter.
I don’t use moment.js, but I assume it can be registered similarly.
import {
Chart as ChartJS,
Filler,
Title,
Tooltip,
// and more
} from 'chart.js'
import 'chartjs-adapter-luxon'
ChartJS.register(
Filler,
Title,
Tooltip,
... // and more
)
Source:stackexchange.com