Home Forums Chart Support jQuery in Y-Axis

jQuery in Y-Axis

Viewing 2 posts - 1 through 2 (of 2 total)
  • #23061

    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

    #23073

    @izzar,

    Can you kindly share a working sample project with all the dependencies included (like IOCounter.html) over Google-Drive or Onedrive, so that we can look into your code, understand it better and help you out?

    __
    Priyanka M S
    Team CanvasJS

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.