05-13-2020 01:28 AM
Hi everybody,
Chart.js is a simple, clean and attractive set of JavaScript charting tools based on HTML5 technology.Chart.js provides you with a complete, interactive Chart that is easy to integrate into your website.
Attached is a demo program I wrote to illustrate how to use chart.js in LabVIEW NXG. If you like, you are welcome to download and use it.
Note: this code is written in NXG5.0. hope you enjoy it😀.
08-02-2020 09:43 PM
Hi,impressive work!
I have learned your way to write content into HTML place holder, but nothing happens, can you give me some suggestion?
This is the code I put in Javascript:( I had change id to "window')
function test()
{
console.log('test of id');
var id = document.getElementById("window");
console.log(id);
id.innerHTML = "java test";
}
08-05-2020 05:44 AM
Nice work 😊 !
Could you show an example of to use other chart types like:
Line, bar, column, doughnut and pie? 🙂