Hi, kinda new with javascript and jquery.
Currently, I want the Y-axis to update data from a plc. Where I use jquery.
And this is the code.
$(document).ready(function()
{
$.ajaxSetup({ cache: false });
setInterval(function()
{
$.get(“IOCounter.html”, function(result)
{
$(‘#counter’).text(result.trim());
});
},1000);
});
https://jsfiddle.net/QwZuf/2683/
So, I want this jQuery to be call as Y-axis value.
Thanks in advance