Comparing TAChart with Delphi's TeeChart Standard

From Lazarus wiki
Revision as of 20:11, 11 October 2012 by Wp (talk | contribs) (TeeChart's chart properties)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

TeeChart's TChart properties

TeeChart object explorer 1.png

This is the upper part of the TeeChart object explorer. Let's go through the properties:

  • Align: VCL property, the same as with TAChart
  • AlignWithMargins: VCL property, missing in LCL
  • AllowPanning: turns on/off built-in panning support. Not available with TAChart, but effect can be achieved by linking a TChartToolset to the chart.
  • Anchors: VCL property, the same as with TAChart
  • Animations: don't know, a click on the ellipsis button opens the series editor, maybe a bug. Property missing in TAChart.
  • AutoSize: VCL property of some classes, don't know its effect, no entry in help file. Missing in TAChart.
  • AxisBehind: Boolean, default true: in 3D view, draws axis in the back wall, behind the series. If false, axes are drawn at the front wall, before the series. Property missing in TAChart, but effect can be achieved by TChartAxis.ZPosition.
  • AxisVisible: Boolean, default true: turns on/off axis title, marks, ticks, and grid of all axes. The same as with TAChart.
  • BackImage: Allows to add a background image (see also other "BackImage*" properties). Missing in TAChart.
  • BackImageInside: Boolean, default false: if true the BackImage is drawn in the rectangle spanned by the axes, otherwise it is a background image of the entire chart. Missing in TAChart.
  • BackImageMode: defines the way the image is drawn/repeated on the background, options (pbmStretch, pbmTile, pbmCenter, pbmCustom). Missing in TAChart.
  • BackImageTransp: Boolean, default false: If true the transparency is that of a TBitmap, the transparent color is taken from the left-bottom pixel of the image. If BackImage is an icon, BackImageTransp is true and cannot be changed. Missing in TAChart.
  • BackWall: see separate chapter on TChartBackWall. Missing in TAChart.
  • BevelInner, BevelOuter, BevelWidth: Bevel parameters like those of a TPanel -- TeeChart's TChart inherits from TCustomPanel. Missing in TAChart.
  • Border: see separate chapter on TChartHiddenPen, a frame around the entire chart. Missing in TAChart.
  • BorderRound: if grater than 0 the Border is drawn as a RoundRect with that radius. Missing in TAChart.
  • BorderWidth: Seems to have the same effect as the LCL's BorderSpacing.Around
  • BottomAxis: See separate chapter on TChartAxis.
  • BottomWall: See separate chapter on TChartBottomWall. Missing in TAChart.
  • Chart3DPercent: Ratio between chart dimensions and chart depth Chart.View3D is true. Similar to TAChart's property Depth of chart and some series.
  • ClipPoints: boolean, default true: toggles the drawing of series points within chart boundaries, preventing other chart regions from being overwritten. TAChart: ?
  • Color: Background color of entire chart, the same as with TAChart.
  • Constraints: Standard VCL / LCL property, the same as with TAChart.
  • Cursor: standard VCL / LCL property, the same as with TAChart.
  • CustomAxes: List of axes, like with TAChart, but seems to be without the default axes.
  • CustomHint: ???, missing in TAChart
  • DepthAxis: Characteristic of the bottom-right axis in 3D chart, see separate chapter on TChartDepthAxis. TAChart does not have a depth axis in 3D charts.
  • DepthTopAxis: Characteristics of the left-top axis in 3D chart, see separate chapter on TChartDepthAxis. Missing in TAChart.
  • DockSite: enables Docking, not supported by LCL, missing in TAChart.
  • DragCursor, DragMode: Drag and Drop support. Like in TAChart.
  • Emboss: ???, missing in TAChart.
  • Enabled: Not in help file, at least, turns off zooming and panning.
  • Foot: See separate chapter on TChartTitle. Like in TAChart.
  • Frame: See separate chapter on TChartPen. Like in TAChart.
  • Gradient: See separate chapter in TTeeGradient. Draws a gradient behind the entire chart. Missing in TAChart.
  • Height: Standard VCL/LCL property, the same as with TAChart.
  • HelpContext, HelpKeyword, HelpType: Standard VCL property, the same as with TAChart.
TeeChart object explorer 2.png
  • Hint: Standard VCL/LCL property, the same as with TAChart.
  • Left: Standard VCL/LCL property, the same as with TAChart.
  • LeftAxis: See separate chapter on TChartAxis.
  • LeftWall: See separate chapter on TChartLeftWall, describes left wall of 3D charts. Missing in TAChart.
  • Legend: See separate chapter on TChartLegend, describes legend parameters, like in TAChart.
  • LiveBindings: new VCL properties introduced in Delphi XE2. Missing in TAChart.
  • Locked: ???, missing in TAChart
  • MarginBottom, MarginLeft, MarginRight, MarginTop: Margin between "Border" and Axis, corresponds to TAChart's MarginExternal.
  • MarginUnits: options (muPercent, muPixels). According to the help file: "When MarginUnits is muPercent, chart margins are calculated as percentage of total chart width and height. Percent margins are useful to obtain the same margin proportions, no matter the chart size." muPercent missing in TAChart.
  • Margins: standard VLC property, in combination with AlignWithMargins. Like LCL's BorderSpacing.
  • Monochrome: if true, turns off colors and renders chart in grayscale.
  • Name: standard VCL/LCL property
  • Pages: accesses pages for a multi-page chart. Not supported by TAChart.
  • Panning: properties for built-in panning support. Missing in TAChart, but can be achieved by means of chart tools.
  • ParentColor: standard VCL/LCL property, the same as with TAChart
  • ParentCustomHint: ???, missing in TAChart.
  • ParentShowHint: standard VCL/LCL property, the same as with TAChart
  • PopupMenu: standard VCL/LCL property, the same as with TAChart
  • PrintProportional: no built-in printing support in TAChart
  • RightAxis: See separate chapter on TChartAxis.
  • RightWall: See separate chapter on TChartLeftWall, describes left wall of 3D charts. Missing in TAChart.
  • ScrollMouseButton: sets the button that will trigger scrolling when pressed. TAChart does not have built-in scrolling support, effect can be achieved by chart tools.
  • SeriesGroups: According to the help file: "Chart Series can be grouped. Series groups can optionally be displayed at the chart editor. The main purpose of groups is to have an easy way to show or hide multiple series, that is, show or hide individual groups of series." Part of this can be achieved in TAChart by multivalued series.
  • SeriesList: opens the chart editor. Missing in TAChart.
  • Shadow: See separate chapter on TTeeShadow. Missing in TAChart.
  • ShowHint: Standard VCL/LCL property, the same as with TAChart.
  • SubFoot: See separate chapter on TChartTitle. TeeChart allows for a second footer. Missing in TAChart.
  • SubTitle: See separate chapter on TChartTitle. TeeChart allows for a second title. Missing in TAChart.
  • TabOrder, TabStop, Tag: standard VCL/LCL properties, the same as with TAChart.
TeeChart object explorer 3.png
  • Title: See separate chapter on TChartTitle. Similar to TAChart.
  • Tools: property is disabled in TeeChart Standard. Chart tools are an essential part of TAChart.
  • Top: standard VCL/LCL property, the same as with TAChart.
  • TopAxis: see separate chapter on TChartAxis. Parameters for second x axis above the chart. Property missing in TAChart, but can be accessin in AxisList in object tree.
  • Touch: Touch gestures are not supported by Lazarus.
  • UseDockmanger: Docking is not supported by Lazarus.
  • View3D: turns on/off 3D chart. Property missing in TAChart, but 3D effect can be achieved by Depth properties of chart and some series.
  • View3DOptions: See separate chapter.
  • View3DWalls:
  • Visible, With: standard VCL/LCL properties, the same as with TAChart.
  • Zoom: parameters to define the built-in zooming, missing in TAChart, but effect can be achieved by chart tools.