0
in Vue I tried whit.
import Moment from 'moment';
import 'moment/locale/es';
import Chart from 'chart.js';
Moment.locale('es');
it worked for me.
I was looking in the chart.js code ant I see, they call moment as Moment
not moment
- [Chartjs]-Chart looks only grey, does not show the color – Chartjs,discordjs
- [Chartjs]-How can i send a list of numbers from views.py to a chartjs file im using for the front?
Source:stackexchange.com