Home > Software engineering >  Vb.net dynamic curve chart
Vb.net dynamic curve chart

Time:12-22


As shown in figure, the X axis as the time, Y axis as the amplitude, return value of amplitude value from the serial port, each received a serial port returns the magnitude of value is to draw the data points in the chart above, now the problem has two:
1. The program is running on the X axis, according to the time labels don't returned when amplitude values on the chart, data point on the X axis at the same time corresponding to display the current time,
2. When the data curve is drawn to the chart on the right side of the border, can realize the dynamic display of the grid size, without compression, which is the left one left out of the display space to give the right curve plotting,

Beg you great god draw out a sword, such as source code online,,,,,,,,,,, thank you very much!!!!!!!!!!!!!! Editing environment VB2010

CodePudding user response:

Simply all custom painting,
  • Related