Modified oceandatatools-compass-panel plugin doesnt work

Hi

i had to modify the oceandatatools-compass-panel plugin. I need different units to measure, i need km/h for wind speed but inside the plugin i have only mph, m/s and others. So i modifiied module.js and changed mph to kmh. I added oceandatatools-compass-panel loading as an usigned plugin in grafana.ini
I can see in the dashboard that this plugin gets loaded but it doesnt work anymore. what did i miss?

Next try, i reinstalled this plugin to get back to original…did the same steps. modified module.js, added this plugin to “allow load unsigned plugins”…. now the dashboard did not find the plugin anymore…

help please! :slight_smile: much appreciated.

Hi @gaspedal
it is unlikely you will achieve what you want by modifying the module.js. you will have to modify the source code and re-compile a version with the changes and load it

since you are at that, open a PR with your changes in their repository GitHub - OceanDataTools/grafana-compass-panel: A dynamic compass panel for Grafana