Difference between revisions of "TAChart/fr"

From Lazarus wiki
Jump to navigationJump to search
(New page: {{TAChart}} === About === TAChart is a charting LGPL component for Lazarus (TeeChart LineSerie like). Its main caracteristics are : * Unlimited number of curves * Unlimited number of p...)
 
Line 1: Line 1:
 
{{TAChart}}
 
{{TAChart}}
  
=== About ===
+
=== A propos ===
TAChart is a charting LGPL component for Lazarus (TeeChart LineSerie like).  
+
TAChart est un composant LGPL de représentation de graphes pour Lazarus (comme la série(LineSerie ?) des TeeChart ).  
  
Its main caracteristics are :
+
Ses caractéristiques principales sont :
  
* Unlimited number of curves
+
* Nombre illimité de courbes
* Unlimited number of points
+
* Nombre illimité de points  
* Graph legend
+
* Légende de graphique
* Graph title
+
* Titre de graphique
* Axis labels
+
* Étiquettes aux axes
* Interactive zoom
+
* Zoom interactif
 
* Cross hair or vertical cross hair cursor with point measure
 
* Cross hair or vertical cross hair cursor with point measure
* Line drawing between points
+
* Tracé de ligne entre les points
* Point drawing on each point
+
* Dessin d'un point sur chaque point  
* Different point shapes (square,circle, cross, diagonal cross and star)
+
* Différentes formes de point (carré, cercle, croix, croix de forme diagonale et étoile)
* Color each point and line
+
* Colorisation de chaque point et ligne
* Mirror on X axis
+
* Miroir sur l'axe des abscisses
* Auto or manual graph limits
+
* Limitations automatique ou manuelle du graphique
* Linear least square fitting
+
* Ajustement linéaire au moindre carré
 
* Smart marks drawing
 
* Smart marks drawing
 
* Vertical and horizontal line graph type
 
* Vertical and horizontal line graph type

Revision as of 10:36, 21 July 2007

Deutsch (de) English (en) español (es) français (fr) português (pt) русский (ru) українська (uk) 中文(中国大陆)‎ (zh_CN)

A propos

TAChart est un composant LGPL de représentation de graphes pour Lazarus (comme la série(LineSerie ?) des TeeChart ).

Ses caractéristiques principales sont :

  • Nombre illimité de courbes
  • Nombre illimité de points
  • Légende de graphique
  • Titre de graphique
  • Étiquettes aux axes
  • Zoom interactif
  • Cross hair or vertical cross hair cursor with point measure
  • Tracé de ligne entre les points
  • Dessin d'un point sur chaque point
  • Différentes formes de point (carré, cercle, croix, croix de forme diagonale et étoile)
  • Colorisation de chaque point et ligne
  • Miroir sur l'axe des abscisses
  • Limitations automatique ou manuelle du graphique
  • Ajustement linéaire au moindre carré
  • Smart marks drawing
  • Vertical and horizontal line graph type
  • Easily extensible to new graph types


The download contains the component, an installation package and a demo application, that illustrates the features of the component along with some instrumentation for evaluating the chart on a given system.

This component was designed for cross-platform applications.

Screenshot

Here is an exemple of TAChart displaying a noisy line (in blue), a fitted line (in black) and a cross hair:


Tachart.png

Author

Philippe Martinole

License

LGPL (please contact the author if the LGPL doesn't work with your project licensing)

Download

The latest stable release can be found on the Lazarus CCR Files page.

Change Log

  • Version 1.0 2005/04/06
  • Version 1.1 2005/06/10
 - TTAChart.GetNewColor added to automate color choice. 
 - A lot of bug corrections.
  • Version 1.2 2006/02/01
 - New graphe simple type : Horizontal or vertical line
 - New point shapes
 - Bug correction for Linux
 - Bug correction for cross hair

Dependencies / System Requirements

  • None

Status: Stable

Issues: Tested on Windows and Linux.

Installation

  • Create the directory lazarus\components\tagraph
  • On this directory, unzip the files from tagraph\lazarus\component of the zip file
  • Open lazarus
  • Open the package ta.lpk with Component/Open package file (.lpk)
  • (Click on Compile only if you don't want to install the component into the IDE)
  • Click on Install

Usage

Drop the component on a form. Change some properties as you like and use this code to add a curve :

procedure TForm1.Button1Click(Sender: TObject);
var
  Serie:TTASerie;
  i:Integer;
begin
Serie:=TTASerie.Create(TAChart1);
TAChart1.AddSerie(Serie);
Serie.ShowLines:=True;
Serie.ShowPoints:=False;
Serie.Title:='Sinus';
for i:=-500 to 499 do
   Serie.AddXY(i/10,Sin(i/10)*10,clBlack);
end;

Use this code to add a horizontal line :

procedure TForm1.Button12Click(Sender: TObject);
var
  TALine:TTALine;
begin
TALine:=TTALine.Create(TAChart1);
TAChart1.AddSerie(TALine);
TALine.LineStyle:=lsHorizontal;
TALine.Position:=10.231;
TALine.Visible:=True;
end;

See the example project TestOfTAGraph for additional examples of component usage. See a complex application example written in Delphi6PE at the adress : http://www.martinole.org/Waves.html

The TestOfTAGraph Example Application

The TestOfTAGraph application requires TAGraph to be installed in order to compile and operate. It shows how to use many of the TAGraph features.

Installation

  • Open TestOfTaGraph.lpi
  • compile
  • run