mtatsuma / MMM-WeatherChart

Magic Mirror Module for displaying weather chart
MIT License
26 stars 8 forks source link

Curve point labels not appearing #12

Closed jhillairet closed 3 years ago

jhillairet commented 3 years ago

First of all, thank you for module, it works great.

Using the latest version of Magic Mirror on a raspberry pi, the curve point labels strangely do not appear as it should:

image

How can I help to debug if needed?

mtatsuma commented 3 years ago

Hi

Thank you for using the module!

I have confirmed that this module can work well for the latest version (v2.13.0) of MagicMirror and the data label for each point appears.

I guess the char.js data label plugin is not loaded successfully on your environment.

You can check the console log from your browser and check if the plugin script is successfully loaded from https://cdn.jsdelivr.net/npm/chartjs-plugin-datalabels@0.7.0/dist/chartjs-plugin-datalabels.min.js.

jhillairet commented 3 years ago

OK. If I understand well, it seems so: image

I've removed the node_modules directory and restart, and now it works... thank you for pointing me toward the good direction.