-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Empty Chart always shows even using your example flow provided #20
Comments
Just tested this on NR v3.0.2 and node-red-contrib-chartjs v0.5.2 running on macOS v12.5 and it works fine. For example, if you want to run Population Radar Chart (last example) and NR is running on 192.168.1.50, you would first open a window with http://192.168.1.50:1880/POR and then press the 'inject' button for that flow. After playing with it a bit, personally I wouldn't use it because if you refresh to chart window in the browser, the data disappears and you have to go back and trigger the sending of the data to te chart again to see it. |
I got a same situation ( empty chart ) . [Flow] [HTML] -- | | | | | | | | <script type="text/javascript" src="chartjs/js/jquery-3.3.1.min.js"></script> | <script type="text/javascript" src="chartjs/js/popper.min.js"></script> | <script type="text/javascript" src="chartjs/js/bootstrap.min.js"></script> | <script type="text/javascript" src="chartjs/js/Chart.min.js"></script> | <script type="text/javascript" src="chartjs/js/socket.io.js"></script> | <script type="text/javascript" src="chartjs/js/jspdf.min.js"></script> | | <script type="text/javascript" src="chartjs/templates/line-chart.js"></script> | <title>Chart.js samples</title> | | | | Chart.js RED | |
|
|
|
|
|
|
|
|
|
Running latest nodered, installed the node-red-contrib-chartjs package 0.5.2
installed the flow examples (examples folder), deploy, inject the sample. Hit the local host URL /POV example, and even /POH and empty charts are shown
code in browser shows html header, meta, link, script lib references, and the chart container and cavas.
The text was updated successfully, but these errors were encountered: