| |

VerySource

 Forgot password?
 Register
Search
View: 826|Reply: 3

Buddies who have used MSChart come in and see!

[Copy link]

1

Threads

9

Posts

8.00

Credits

Newbie

Rank: 1

Credits
8.00

 China

Post time: 2020-3-14 23:30:01
| Show all posts |Read mode
I want to use MSChart as a graph.My graph is real-time, that is, a pair of data (X and Y values, both of which are numerical data) are generated in real time, and then displayed on MSChart. There are many value pairs. My MSChart can only display a limited number of value pairs, such as 10 pairs. After displaying 10 pairs, the display of the one-on-one pair is restarted from the starting point of the axis. You cannot display all 10 pairs at once, only one-to-one. The display of the pair will be displayed immediately after generating a pair of data. The X axis corresponds to the X value, and the Y axis corresponds to the Y value.

Can anyone tell me what to do?
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-17 09:15:01
| Show all posts
Define a variable i in the form;
Use a timer control: fetch data in real time, and add 1 to i after fetching a piece of data;
              After fetching a piece of data, judge the value of i, if it is equal to 10, display Chart, and set i=0, otherwise continue to take the value
Reply

Use magic Report

0

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-8-17 09:30:01
| Show all posts
Helped you
In fact, if it is simple, draw one by yourself using GDI
Reply

Use magic Report

0

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 United States

Post time: 2020-8-17 13:00:01
| Show all posts
Real-time loop display of line chart?
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list