Suppose Y value in more than 10, less than 5, fill in the value outside the area of color,
O solve,
CodePudding user response:
D the original chart without this function, only the read from a control, or the painting,CodePudding user response:
If is the drawing out of the line, the starting point of curve, the inflection point and end point coordinates should be know, according to these points can be calculated for each section of the slope of line, two lateral linear Y know, according to the slope should be able to calculate the intersection point of the X coordinates, so that closed of triangle three vertex coordinates have, then calls the filling method of graphical component filling is ok, no specific writing code, this way of thinking should be feasible,CodePudding user response:
Using Rgn area to do, can build a regional coordinates, and then use FillRgnCodePudding user response:
The