(introduce
Recently, I found some real-time curve display controls on the Internet, and found a lot of functional controls similar to the WINDOWS2000 CPU utilization, but the functions are limited in general, so I wrote this CMultiColorPlot real-time curve function class on the basis of the reference code, providing LINE and BAR has two curve functions. For your reference, if you need to use it, you can use it directly, I don't charge, ^_^
text
Program operation function 1: Line mode
55500
Program operation function 2: Bar mode
55501
Interface Description:
//set grid distance
voidSetGridResolutionX(intnGridReluX);
//set grid distance
voidSetGridResolutionY(intnGridReluY);
//Set the grid scrolling speed, the positive value is scrolling from left to right, 0 does not move
voidSetGridScrollSpeedX(intnSpeedX);
//The positive value is to roll from top to bottom, 0 does not move
voidSetGridScrollSpeedY(intnSpeedY);
// grid line width
voidSetGridLineWidth(intnWidth);
//background color
voidSetGridBackClr(COLORREFclr);
//// Determine the data display range
voidLockRang(boolbfLock=true);
// Determine the data display range
voidLockRang(floatfMin,floatfMax);
//set data
voidSetData(floatfData);
//curve color)