From Free Pascal wiki
Jump to: navigation, search


TCustomPlot is a custom plotting component. It allows you to plot a series of points connected with line.


You need to make a set of points, and them will be connected with line. Points should be set via Points property, which is a decendent of TStrings. So, in program you need to set points[i].x and points.y. In ObjectInspector you may edit it as a stringlist, each line is a point in format x:y, where x and y are float falues. XMin,XMax,YMin,YMax - float properties for setting plot borders. Alternatively you may set AutoSizeX and/or AutoSizeY to true, so all points must be shown. HasMarks means whether axes have a marks (float numbers). NMarksX and NMarksY shows how many such marks will be at the correspondend axis. XSpacer and YSpacer means how many space (in pixels) are left for float marks. XMarkDigits, YMarkDigits,XMarkDecimals, YMarkDecimals are about formatting the values.


modified LGPL (same as the FPC RTL and the Lazarus LCL). You can contact the author if the modified LGPL doesn't work with your project licensing.


Presently Vasily I.Volchenko