Home > Net >  C # chart control real-time refresh 60000 data point card not to figure
C # chart control real-time refresh 60000 data point card not to figure

Time:04-27

C # to build a window in a built-in chart controls, then cs file to read data, real-time inside the chart shows,
Read no problem, very quickly into the array, and then I use the
Chart1. Series [" data "]. Points. The Clear ();
Chart1. Series [r]. "data" Points. The DataBindXY (x_point y_point);

When data rarely (thousands of), probably delay 1 seconds out, but I actually need about 60000 data, then wait a few minutes are not to, has been stuck in DataBindXY here,

I also tried to use thread, but DataBindXY inside the thread with no,

Could you tell me how to do let the chart control can hurry figure, or what is the chart control can be used for free, before I use the trial version of the city of grapes, the inside of the chart control can come out soon, trial version now expire, we may not be able to use,

CodePudding user response:

Screen orientation is more than one thousand points, you put 60000 data, can see clearly?
Now that can't see, why put so much?

CodePudding user response:

It is not necessary to show such a multipoint
Proportional spacing take 100200 points, such as forming new array to bind again

CodePudding user response:

reference 1st floor xuzuning response:
screen orientation is more than one thousand points, you put 60000 data, can see clearly?
Now that can't see, why put so much?


Because a collection is around 60000 points, and then I connected with a line chart, I also thought divided by ten, every 10 points, but to find a peak behind, I worry that simplifies the front, look behind summit are not allowed to be wrong, with commercial control quickly out of the figure, but is out of date,

CodePudding user response:

I used to have a demand to analyze wire waveform frequency diagram, each line has 2000 points, each analysis about control under one hundred lines, basic in the 50 or so, so well have
50=2000 * 100000 points, I am a oneself use gdi drawing, soon

CodePudding user response:

Basically see what data you are, if it is a time series data, our normal using hamming window according to the time window displays

If it is a spatial data, usually by space proportion sampling again

CodePudding user response:

Sampling, 10 smoke, a smoke even 60 a graphical indicator reflects the trend, do not affect you to calculate the peak

CodePudding user response:

reference baidu_37617089 reply: 3/f
Quote: refer to 1st floor xuzuning response:

Screen orientation is more than one thousand points, you put 60000 data, can see clearly?
Now that can't see, why put so much?


Because a collection is around 60000 points, and then I connected with a line chart, I also thought divided by ten, every 10 points, but to find a peak behind, I worry that simplifies the front, look behind summit are not allowed to be wrong, with commercial controls it figure out soon, but has expired,

This is confusing before and after, you
1, the entire chart to find the peak valley,
2, how to do data screening,
3, the future may have the function of zoom in,

So you have to do is:
Before each zoom in, find the peak valley first, and then began to filter data (10 1 or do your own arrangement), data to join the peak valley near in the valley of the peak, then display after the screening data,

CodePudding user response:

Thank you, now I put the data of 10 a merger, shrink to 6000 points, figure out, but has a point card, about 2 seconds to a figure, sometimes suppressed more than 10 seconds to out, how to do?

CodePudding user response:

1000 points is more than enough, why not yourself

CodePudding user response:

refer to the eighth floor baidu_37617089 response:
thank you, now I put the data of 10 a merger, shrink to 6000 points, figure out, but has a point card, about 2 seconds to a figure, sometimes suppressed more than 10 seconds to out, how to do?

According to the current screen resolution, according to 6000 points or 1000 points,
The feeling of customers were not bad enough
Then simplify data can ensure performance
Thinking several great god is upstairs said
The choice of these points has exquisite,
Is time get feature points (beginning, maximum, minimum, end),
At the same time to provide users with the function of local amplification

CodePudding user response:

Say so much for chestnut

Raw data:
2, 3, 4, 0, 1, 4, 5 6 2 5 5 September 8
You can wash for
1 2 3 0 5 5 8
Then add the peak value of the sieve out
1 3 0 5 2 9
Can also be clean for
1, 4, 5 5 8
To screen out the peak valley value
1 4 0 9

Streamline how many, how much do you want to streamline the middle data you want to average correction data can also be, my side is not for the chestnut,
It is the end you will have in the beginning, then there is the peak valley,

CodePudding user response:

In fact now screen resolution to be 4 k screen, is 4096 x 2160 resolution, this means that 4 k screen in the most extreme cases can only display 4630 points of a line of the hypotenuse ()

And rate of change of the human eye is drawn to 1000 you will have enough to see trends, so you have to do now is the first step in the data to a suitable both can show trends and can quickly render an equilibrium point, and then to do the rendering,

If stubbornly on so of course you can also, GDI + multithreading drawing operations can be implemented, but actually didn't increase more user experience, the opposite because you have manufactured a set of charts multi-threaded control, the realization of the function of many users instead of more difficult,

CodePudding user response:

As to simplify data, extract the change trend of these there are too many people do too much algorithm I don't teach fish to swim

CodePudding user response:

The building Lord, caton phenomenon because of large amount of data, the screen redraw caused by time delay, is the display speed with the CPU speed, and see my posts may be useful to you,

CodePudding user response:

reference 14 floor sea coconut shell reply:
the building Lord, caton phenomenon because of large amount of data, the screen redraw caused by time delay, is the display speed with the CPU speed, and see my posts may be useful to you,

You this in order to push the control digging a grave too

CodePudding user response:

reference 15 floor non-professional development Five replies:
Quote: reference 14 floor sea coconut shell reply:
the building Lord, caton phenomenon because of large amount of data, the screen redraw caused by time delay, is the display speed with the CPU speed, and see my posts may be useful to you,

You this in order to push the control of digging up the grave too

It doesn't matter, but you can solve your problem,

CodePudding user response:

reference 15 floor non-professional development Five replies:
Quote: reference 14 floor sea coconut shell reply:
the building Lord, caton phenomenon because of large amount of data, the screen redraw caused by time delay, is the display speed with the CPU speed, and see my posts may be useful to you,

You this in order to push the control of digging up the grave too

You can do some business development, we cooperate,
  •  Tags:  
  • C#
  • Related