11-19-2019 10:36 AM
Hi everyone! While customizing XY Graph, I`ve met some problems with the grid updates. Due to the fact, that X-value comes in Time+Date format (not from system time) (and Y value is a Temperature value) I need a Graph, that:
- shows only 10 values per display and than moves right automatically - I will use X scrollbar to see previous values
- shows the Major Grid only up to X-value incoming to know exact Time (for example, I want to know that at 18:33:28 I had 29,6 degrees, and don`t need to guess the exact time in the interval shown.
I`ll be very grateful for your help!
11-19-2019 10:45 AM
Attach your code and somebody will try to fix it.
(A x-scrollbar is for user interaction, but you also want it to scroll right automatically. You can't have both unless you resolve the conflict who should win. Will the data grow forever? Are the points spaced equally in time?)
11-19-2019 10:56 AM
Theoretically, points should arrive at the same frequency, but due to the loss of part of the packets or the periodic shutdown of the equipment that sends them, they don`t. I can`t attach the code - there are some special corporate moments need to be kept private. The conflict between Scrollbar and automoving right seems to became a headache...
11-19-2019 11:33 AM
A Waveform Data type chart will do what you need AND if you suspend updates the scroll bar will work as you needed until you start applying more updates to the chart.
Ben