
To use a single Layer again you have to set LayerOption False! When you call this method LayerOPtion will be set TRUE. LayerOptions(Layer:Integer PlotMode:TPlotMode PenWidth:Integer)Įvery Layer can use a different Plotmode and PenWidth
FREE PASCAL TCOLOR HOW TO
Plotmodes and penwidths (see LayerOptions how to set linewidth and plotmodes) With this method it is possible to plot up to 8 lines in different colors, The line is plotted with the PlotPen propertiesĪddXY(X,Y:Extended, Color:Tcolor,Layer:Integer) With this method you can add points (or lines) to the plot The X-axis properties: XLabel Label at the X-axis XMarks When True, the X-axis has marks XMarksFontğont used for the XMarks XMarksInterval Interval between to lines in the grid (applies for linear scales only) XMax Maximum value of X that is visible XMin Minimal value of X that is visible XScaleLog When TRUE the scale is logarithmic (the interval is determined by the component)įor the Y-axis the same applies. If LayerOption is True, then information about the plotting pen is transferred via the LayerOptions method (methods) Title The Title is at the top center of the plot and uses the Font property PlotBMP This is a bitmap holding the whole graph (see demo for its use) If LayerOption is False, then all sub-properties can be set. It is not possible to set this to True directly (see methods) Margin The width of the border of the plot in pixels PlotMode Three plotmodes are possible: pmBar, pmLine and pmDot PlotPen Properties of the plotting pen.

Properties inherited from TCustomPanel Align, Anchors, Autosize, BevelInner / Outer / Width Borderspacing, BorderStyle, Borderwidth Color is the color of the border of the plot Constraints, Cursor, Dragmode, Enabled Font is the font of the title of the plot Height, HelpContext, HelpKeyword, HelpType, Hint Left, Name, ParenColor, Parentfont, ParentShowHint PopupMenu, ShowHint, TabOrder, TabStop Tag, Top, Visible, Width The following properties are added BackColor This is the background color of the plotting area GridColor When you make this the same as Backcolor, the grid is invisible LayerOptionğor easy plotting of a single layer this can be set to False. To this Panel plotting capabilities are added. The PlotPanel component is derived from the TCustomPanel-component. This is a very rude description of the component. On my website ( ) you can find the updated version: PlotPanel-0.97 Description of the PlotPanel component

There was a problem with Plotpanel in Lazarus 0.9.28.x You can try PlotPanel without installing the component by running TryPlotPanel! Run the PlotPanelDemo to explore the features of PlotPanel.
FREE PASCAL TCOLOR INSTALL
Perform the necessairy actions to intall the package (see Install Packages).Īfter you have done that all, there must be a new Tab in the component palet with the name "Extra".Unzip plotpanel.zip in a directory of your choice.


FREE PASCAL TCOLOR SOFTWARE
This software is presented as is, without any written warranty. With PlotPanel you can draw line-, dot- and bar-graphs. With some modification it can also be used with Kylix, Delphi 5, 6 or 7. PlotPanel is a component for Lazarus to replace (more or less) the TChart component. 4 Properties inherited from TCustomPanel.3 Description of the PlotPanel component.
