jQWidgets Forums

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: jqxBarGauge not updating jqxBarGauge not updating #132894

    IanAber
    Participant

    Many thanks. I will make some changes and check it out.

    in reply to: jqxBarGauge not updating jqxBarGauge not updating #132887

    IanAber
    Participant

    I just downloaded and installed the latest version. I updated the WEB site so these files should now be version 16.0.0. It is still stopping. They don’t all stop at the same time and in fact some of them never stop.

    in reply to: jqxBarGauge not updating jqxBarGauge not updating #132877

    IanAber
    Participant

    Darn! I spoke too soon. That did not fix the problem.

    in reply to: jqxBarGauge not updating jqxBarGauge not updating #132876

    IanAber
    Participant

    I changed the code so that instead of updating the gauges direclty from the websocket handler they are updated by a timer from the main window. The time runs every second and the data is updated independantly from the websocket. This seems to have fixed the issue, I think.

    in reply to: jqxBarGauge not updating jqxBarGauge not updating #132875

    IanAber
    Participant

    go to http://cedartechnology.duckdns.org:28080. This is the page I am having trouble with. The gauges should update every second.

    If you hover over a bar on one of the bar gauges the tool tip will show you the current value but after a couple of updates the bar is no longer redrawn and the label is not updated. The tooltip is always correct.


    IanAber
    Participant

    It would seem that this problem is related to animation. Disabling animation by setting animationDuration to 0 I was able to run my page for an hour or so without error. As soon as I reintroduced the animation it failed very quickly. I set the animationDuration value to 300, since I have a 1 second update loop, to try and ensure that any animation after a value change would be complete before a new value was applied but I still got the errors. I will leave it disabled for a while longer and see what I get. I believe I am using the latest version version-8 of the widgets library.

    [Error] Error: Invalid value for <rect> attribute y=”NaN”
    attr (jqxdraw.js:8:13346)
    _setRectAttrs (jqxgauge.js:8:56703)
    _performColumnPointerLayout (jqxgauge.js:8:56376)
    _setValue (jqxgauge.js:8:55749)
    (anonymous function) (jqxgauge.js:8:33057)
    [Error] Error: Invalid value for <rect> attribute height=”NaN”
    attr (jqxdraw.js:8:13346)
    _setRectAttrs (jqxgauge.js:8:56797)
    _performColumnPointerLayout (jqxgauge.js:8:56376)
    _setValue (jqxgauge.js:8:55749)
    (anonymous function) (jqxgauge.js:8:33057)


    IanAber
    Participant

    I am seeing the same or similar problems with dial and chart objects. I have a couple WEB pages that update several controls every second to show various values in my Solar voltaic and hot water off grid house management system. I can give you a URL to connect to them and see the issue. As a client I am using OS-X 10.14.5 running Safari 12.1.1. The page will run for a short while then suddenly spit out a bunch of these errors. It does not seem to be a specific control and I have not been able to identify specific values that cause it to happen. I can send you the URL via private message if you would find it useful to be able to recreate the issue.

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