Difference between revisions of "TAChart"

From Lazarus wiki
(Features)
(Add roadmap)
Line 32: Line 32:
  
 
Here is an example of TAChart displaying a Line Series, Bar Series and Pie Series
 
Here is an example of TAChart displaying a Line Series, Bar Series and Pie Series
 
  
 
<center>[[Image:tachart.png]]</center>
 
<center>[[Image:tachart.png]]</center>
  
=== Author ===
+
=== Authors ===
[[User:LFRodrigues|Luís Rodrigues]]
+
[[User:LFRodrigues|Luís Rodrigues]],
+
[[User:Marty|Philippe Martinole]],
[[User:Marty|Philippe Martinole]]
 
 
 
 
[[User:Ask|Alexander Klenin]]
 
[[User:Ask|Alexander Klenin]]
  
Line 48: Line 45:
 
The old code developed by Philippe is Here: [http://sourceforge.net/project/showfiles.php?group_id=92177&package_id=177586 Lazarus CCR Files page].
 
The old code developed by Philippe is Here: [http://sourceforge.net/project/showfiles.php?group_id=92177&package_id=177586 Lazarus CCR Files page].
  
=== Change Log ===
+
=== Usage ===
See readme in Lazarus source in (Lazarus Install Dir)/components/tachart/
+
See included examples in Lazarus source in (Lazarus Install Dir)/components/tachart/demo/
 +
 
 +
=== Roadmap ===
 +
Below is a list of items that would be good to have in TAChart.
 +
Some of them are planned for implementation by the current maintainer,
 +
others will require patches from interested contributors.
 +
 
 +
==== Editors ====
 +
 
 +
* TChartExtent editor
 +
* axis index editor
 +
* series index list editor
 +
* ListSource.DataPoints editor
 +
* marks.format / style editor
 +
* subcomponent editor
 +
** same ui as collection editor
 +
** convert to grid/checklist, show enabled/active checkboxes
 +
** child auto-renaming
 +
 
 +
==== Axises/Transformations ====
 +
 
 +
* finish multiaxis
 +
** auto-scaling to fixed/percent range
 +
** non-monotonic (?)
 +
** user-defined transform
 +
** partial-linear transform (?) partial zoom demo
 +
** inverted as transformation (?)
 +
** logBase 0 => e ?
 +
* finish TIntervalSource
 +
* various axis marks steps -- logarithmic etc.
 +
* "center" aligned axis
 +
* test/fix inverted axis
 +
 
 +
==== Series ====
 +
 
 +
* 3-d area series
 +
* 3-d pie series
 +
* rotated area series
 +
* custom "zero level" for area series
 +
* top-down and right-to-left series
 +
* Z axis
 +
* axis.Depth
 +
* FuncSeries.AxisIndexX
 +
* rotated func series
 +
* polar axis and series
 +
* LineStyle -> AxisIndex for TConstantLine (?)
 +
* moving series between charts
 +
* splines
 +
 
 +
==== Tools ====
 +
 
 +
* fixed-point zooming
 +
* auto-panning (with timer)
 +
* animated zoom
 +
* userdefined tool
 +
* test/fix many charts per toolset
 +
* decouple reticule from TChart
 +
 
 +
==== Optimization ====
 +
 
 +
* caches
 +
** graphpoints
 +
** imagepoints
 +
** layers/barriers
 +
* use binsearch in more series
 +
 
 +
==== Sources ====
 +
 
 +
* multi-source
 +
** stacked [full] bar series
 +
** stacked [full] area series
 +
** stacked/donut pie series (?)
 +
** range bar series
 +
** bubble series
 +
* TDateChartSource
 +
 
 +
==== Labels ====
 +
 
 +
* complete rotated label support
 +
* auto-position labels
 +
 
 +
==== Presentation ====
 +
 
 +
* striped background => stripSeries
 +
* embellishments: gradient, shadow, glow(?)
 +
* transparency
 +
* Generic drawer: TCanvas/AggPas/OpenGL
 +
* panes
 +
 
 +
==== Other ====
 +
 
 +
* deprecate tbarchart
 +
* more documentation
 +
* oscilloscope demo
 +
* printing
 +
* better icons
 +
* lazreport integration
 +
* export to pdf/svg
 +
* tutorials
 +
* wizards
  
=== Usage ===
+
==== Internal ====
See included example in Lazarus source in (Lazarus Install Dir)/components/tachart/demo/
+
 
 +
* AddSubcomponent => SetParentComponent
 +
* extract TSubomponentClassRegistry

Revision as of 08:36, 6 June 2010

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

About

TAChart is a charting LGPL component for Lazarus (TeeChart like). It contains the functions that Philippe Martinole developed for the TeleAuto project and lots of changes introduced by Luis Rodrigues while porting the Epanet application from Delphi to Lazarus. The code was then extensively rewritten, expanded and is now maintained by Alexander Klenin.

If you have questions, bug reports or feature requests, please post them to the Lazarus mailing list.

Features

  • Pie Series
  • Bar Series
  • Area Series
  • Line Series (can work as Point Series)
  • Function Series with domain support
  • Unlimited number of series and points on graph
  • Flexible chart sources, including design-time editable, random, dynamic and db-aware sources.
  • Graph legend, title and footer
  • Axis labels and marks, manually set or auto-generated
  • Arbitrary number of axises per chart
  • Axis inversion, independent scale and offset, logarithmic scale
  • Interactive zoom
  • Reticule or vertical reticule with point measure
  • Auto or manual graph limits
  • Smart marks drawing
  • Vertical and horizontal lines
  • Easily extensible with new graph types

Screenshot

Here is an example of TAChart displaying a Line Series, Bar Series and Pie Series

tachart.png

Authors

Luís Rodrigues, Philippe Martinole, Alexander Klenin

Download

The latest stable release can be found on the in the Lazarus SVN repository (The components are on the Chart Tab)

The old code developed by Philippe is Here: Lazarus CCR Files page.

Usage

See included examples in Lazarus source in (Lazarus Install Dir)/components/tachart/demo/

Roadmap

Below is a list of items that would be good to have in TAChart. Some of them are planned for implementation by the current maintainer, others will require patches from interested contributors.

Editors

  • TChartExtent editor
  • axis index editor
  • series index list editor
  • ListSource.DataPoints editor
  • marks.format / style editor
  • subcomponent editor
    • same ui as collection editor
    • convert to grid/checklist, show enabled/active checkboxes
    • child auto-renaming

Axises/Transformations

  • finish multiaxis
    • auto-scaling to fixed/percent range
    • non-monotonic (?)
    • user-defined transform
    • partial-linear transform (?) partial zoom demo
    • inverted as transformation (?)
    • logBase 0 => e ?
  • finish TIntervalSource
  • various axis marks steps -- logarithmic etc.
  • "center" aligned axis
  • test/fix inverted axis

Series

  • 3-d area series
  • 3-d pie series
  • rotated area series
  • custom "zero level" for area series
  • top-down and right-to-left series
  • Z axis
  • axis.Depth
  • FuncSeries.AxisIndexX
  • rotated func series
  • polar axis and series
  • LineStyle -> AxisIndex for TConstantLine (?)
  • moving series between charts
  • splines

Tools

  • fixed-point zooming
  • auto-panning (with timer)
  • animated zoom
  • userdefined tool
  • test/fix many charts per toolset
  • decouple reticule from TChart

Optimization

  • caches
    • graphpoints
    • imagepoints
    • layers/barriers
  • use binsearch in more series

Sources

  • multi-source
    • stacked [full] bar series
    • stacked [full] area series
    • stacked/donut pie series (?)
    • range bar series
    • bubble series
  • TDateChartSource

Labels

  • complete rotated label support
  • auto-position labels

Presentation

  • striped background => stripSeries
  • embellishments: gradient, shadow, glow(?)
  • transparency
  • Generic drawer: TCanvas/AggPas/OpenGL
  • panes

Other

  • deprecate tbarchart
  • more documentation
  • oscilloscope demo
  • printing
  • better icons
  • lazreport integration
  • export to pdf/svg
  • tutorials
  • wizards

Internal

  • AddSubcomponent => SetParentComponent
  • extract TSubomponentClassRegistry