Home > Back-end >  C Builder draw curve
C Builder draw curve

Time:10-11

Excel store has a set of measurement data, and now want to use c + + Builder to draw the curve of this group of data, how to implement?

CodePudding user response:

First of all, in the Excel spreadsheet data read c + + Builder,

Then, use Tchart data curve

CodePudding user response:

Reading Excel can be implemented with OLE and draw lines with control or Canvas is likely to be, is very good

CodePudding user response:

Ole control coordinate data read from the excel, tchart control coordinate data according to the drawing, so easy

CodePudding user response:

To excel in the tchart control is set to get the data from the cells of the specified workbook, and fill the cell

Can also through the manual setting data at a time, through macro record OLE information, and then converted to BCB code

CodePudding user response:

http://www.yevol.com/bcb/Lesson12.htm
  • Related