samber / chartjs-plugin-datasource-prometheus

📊 Chart.js plugin for Prometheus
https://www.npmjs.com/package/chartjs-plugin-datasource-prometheus
MIT License
107 stars 20 forks source link

Fix broken error/noData messages display #19

Closed andrey-vorobiev closed 2 years ago

andrey-vorobiev commented 2 years ago

There is a cool features: when data is missing specified message is being displayed instead of empty chart or when any error occurs some message is also displayed instead of empty chart. Unfortunately both of them don't work at this moment. So it's time to fix. Following changes have been made in order to fix this issue: