Home forums Using CanvasJS jQuery in Y-Axis

This topic contains 1 reply, has 2 voices, and was last updated by  Priyanka M S 1 month ago.

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

    Izzar
    Member

    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

    Priyanka M S
    Member

    @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.