VueUiXyCanvas not reacting to dataset updates #125
-
I try to use the VueUiXyCanvas graph to display a spectrum that will update every 100 ms but the spectrum is only showing the first dataset. It are 800 data points that update every time, and the graph is very nice.
If I replace the component with the normal XY component the update works. But the response of this component is to slow. So I was hoping the Canvas version will be faster. |
Beta Was this translation helpful? Give feedback.
Replies: 13 comments 7 replies
-
Hi Paul :) Thanks for pointing this out, a watcher on the dataset was missing. Using VueUiXyCanvas is a good choice indeed for this kind of big dataset with frequent update, as the browser doesn't have to manage thousands of DOM nodes. Cheers |
Beta Was this translation helpful? Give feedback.
-
Yes, now it works fine. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hi, I have some questions |
Beta Was this translation helpful? Give feedback.
-
Ok, I will try. The problem with time labels is that it looks like I have to add 800 time labels and use modula to select the subset I want to see. I was wondering If I could only add the time labels I want to display. So only 9 time lables. |
Beta Was this translation helpful? Give feedback.
-
Ok, I will try that. Thanks for you help. |
Beta Was this translation helpful? Give feedback.
-
I forgot one question. Is it possible to fix the scale of the chart? It looks like the scale is depending on the largest y value. But in realtime you want to have a fixed y scale. |
Beta Was this translation helpful? Give feedback.
-
Thanks! that would be great. |
Beta Was this translation helpful? Give feedback.
-
Thanks! will test it |
Beta Was this translation helpful? Give feedback.
-
One other observation, it looks like the vertical lines are not being displayed. Horizontal lines do work. |
Beta Was this translation helpful? Give feedback.
-
@paulh002 If you already set |
Beta Was this translation helpful? Give feedback.
Hi Paul :)
Thanks for pointing this out, a watcher on the dataset was missing.
You can upgrade to v2.4.22 which solves this issue.
Using VueUiXyCanvas is a good choice indeed for this kind of big dataset with frequent update, as the browser doesn't have to manage thousands of DOM nodes.
Cheers