paint event on picturebox
HiHere is yet another ..................This again simulates incoming random data points.This code example shows the data with a variable compression.With a high compression, the following image shows...
View Articlepaint event on picturebox
Hy castorix31,data display must not require any intervention. It must display all data arrived, wichever is their number.Which intervention ?It just displays data from the array...
View Articlepaint event on picturebox
Hy castorix31,if data are many i will do the scrolling; i have already done a graph that automatically display a moving diagram that upgrades as new data arrive. I have posted the code.I conclude now...
View Articlepaint event on picturebox
I did a test with Direct2D for better performanceI use a dynamic array to simulate incoming data, and I shift data when it reaches the right side of the rectangle to scroll the graph and display last...
View Articlepaint event on picturebox
<<It makes no sense to display all as a graph>> ????It is usually done every where. I did this in VB6.You collect on a graph data in one second or one day and you do not want to make any...
View Articlepaint event on picturebox
What could i do to monitor the temperature and show all the graph in a day work?A similar example is the Performance page of Task Manager (Processor, Memory, Disk, ... usage)It stores data in an array...
View Articlepaint event on picturebox
HiCorrect, you did not understand my example. As I explained, the example was 'The idea is to show that if you have large numbers of data points,it makes no sense to try and display them all as a graph...
View Articlepaint event on picturebox
Hy.No, it dont seem to be what i need. You are changing the sinus period and number of points are constant.How could i treat incoming data in this way?Is not possible to add point after point to a...
View Articlepaint event on picturebox
HiOK. You are aware that there is a very big difference between storing a large collection of data and trying to displaying it all in this way.By way of an example, using a simulation of incoming data...
View Articlepaint event on picturebox
Hy,data are single type, related to some physical variable.data may arrive (from USB for example) at a rate of some second each (or less) and i want to rappresent them on a time graph, for a long time,...
View Articlepaint event on picturebox
HiOK, I am beginning to see what you are talking about.What is the format.type of the data?How do you get the data?How quickily does the data change?Why do you experiment with a point count of 1000000?...
View Articlepaint event on picturebox
Hy,it requires much time to see something with N=1000000.Set N=10000, with box checked you will se a growing sinusoid. From about half graph on you'll see a slowing down.If you put N=1000000, for...
View Articlepaint event on picturebox
HiThank you for posting some code.Trying your code here doesn't offer much of an insight of your requirements.I needed to change the Pen color to other than white as a white line on a white background...
View Articlepaint event on picturebox
Try this code please:"Other way" unchecked = the graph shows point after point (i do not want this) at the speed set "Other way" checked = the graph shows as it should, but it slows down when points...
View Articlepaint event on picturebox
Hy Julie,to fix this problem, when i add a new point, i draw again all data, even what it had been drawn before.This is obviously not correct, but i have not found another way.RegardsHiWhy do you never...
View Articlepaint event on picturebox
Hy Julie,to fix this problem, when i add a new point, i draw again all data, even what it had been drawn before.This is obviously not correct, but i have not found another way.Regards
View Articlepaint event on picturebox
Hi,What is your current progress on this issue?Do you have any code show us? I will test it on my side. It could be better to help us to find the root cause. You can also upload your project to...
View Articlepaint event on picturebox
HImaybe i explained not well what i meant. Anyway your code does what i was not able to do. I think that what i missed in my software was theadd method. All this talking about drawing lines arised from...
View Articlepaint event on picturebox
I did that change to show you that you are drawing all the lines every time al toghether. That is not what i need.Please read what i asked in my post! HiYour post is not easy to understand. First od...
View Articlepaint event on picturebox
I did that change to show you that you are drawing all the lines every time al toghether. That is not what i need.Please read what i asked in my post!
View Article