Commit Graph

136 Commits

Author SHA1 Message Date
ask
275ed478aa TAChart: Add TAutoScaleAxisTransform transformations.
This implements feature requests in issue #13832 and issue #15371

git-svn-id: trunk@26927 -
2010-07-31 10:13:43 +00:00
ask
091bbe149c TAChart: Initial code for using drawing-time storage in axis transformations.
+ Add calls to inherited to BeforeDraw/AfterDraw procedures.

git-svn-id: trunk@26925 -
2010-07-31 07:03:32 +00:00
ask
0a1544f155 TAChart: Remove dependency of TASources on Graphics and LCLIntf, allowing it to be compiled in console-only mode.
git-svn-id: trunk@26783 -
2010-07-22 16:01:20 +00:00
ask
be405ec70a TAChart: Extract TADrawUtils unit
git-svn-id: trunk@26686 -
2010-07-16 14:12:55 +00:00
ask
e8d4380072 TAChart: Use binary search to speed up extent detection for sorted series
+ Fix a typo in TCustomChartSeries.AxisToGraph

git-svn-id: trunk@25923 -
2010-06-05 16:04:50 +00:00
ask
4fb616acac TAChart: Fix TLineSeries to use axis transformations for origin point.
+ Optimize drawing slightly.

git-svn-id: trunk@25888 -
2010-06-04 09:23:20 +00:00
ask
ef7d9b0948 TAChart: Use FreeAndNil instead of Free for object fields
git-svn-id: trunk@24592 -
2010-04-12 06:59:17 +00:00
ask
357f5eb515 TAChart: Fix a typo. Order properties alphabetically.
git-svn-id: trunk@24510 -
2010-04-08 13:33:30 +00:00
ask
bc0ebc593b TAChart: Do not apply axis transformation to unset bounds
git-svn-id: trunk@24508 -
2010-04-08 13:14:18 +00:00
ask
653230ad6b TAChart: Change GetBounds and GetGraphBounds parameters from out to var
* They may be set only partially.
* Add comment explaining that

git-svn-id: trunk@24506 -
2010-04-08 12:57:22 +00:00
ask
5b2e752e04 TAChart: Move more functionality from clients into TListener class
git-svn-id: trunk@24471 -
2010-04-06 15:11:18 +00:00
ask
cd0c7d799e TAChart: Extract TBroadcaster from TCustomChartSource
* Move TBroadcaster and TListener to TAChartUtils

git-svn-id: trunk@24466 -
2010-04-06 12:27:20 +00:00
ask
f5ff000c40 TAChart: Use VIdentityTransform instead of TChartAxis.FDefaultTransformations
git-svn-id: trunk@24464 -
2010-04-06 11:23:27 +00:00
ask
e2f5ade37d TAChart: Activate new transformations code
git-svn-id: trunk@24435 -
2010-04-05 14:05:14 +00:00
ask
221162d126 TAChart: Introduce TIndexedComponent as a base class for tools and series
git-svn-id: trunk@24426 -
2010-04-05 08:18:40 +00:00
ask
87862a4a71 TAChart: Move component list-related overrides from TBasicChartSeries to TCustomChartSeries
git-svn-id: trunk@24311 -
2010-03-31 11:39:20 +00:00
ask
ab09e5bdac TAChart: Fix compilation of drag-and-drop demo
git-svn-id: trunk@24274 -
2010-03-29 10:12:39 +00:00
ask
85eb77d20d TAChart: Move TCustomChartSeries.DefaultFormattedMark to TCustomChartSource.FormatItem
git-svn-id: trunk@24141 -
2010-03-21 13:42:52 +00:00
ask
451b009b38 TAChart: Use Axis.IsVertical instead of duplicating code
git-svn-id: trunk@24131 -
2010-03-21 05:42:35 +00:00
ask
6320463c46 TAChart: Add TCustomChartSeries.GetGraphPointY function
git-svn-id: trunk@24126 -
2010-03-21 04:26:24 +00:00
ask
08bb26f6b0 TAChart: Initial support for rotated series.
Works correctly for point/line series only.

git-svn-id: trunk@24080 -
2010-03-18 13:22:55 +00:00
paul
0c71ee3723 tachart: fix memory leak
git-svn-id: trunk@23227 -
2009-12-22 06:27:42 +00:00
ask
53892fe909 TAChart: Add axis transformations and ability to bind series to axises.
This implements most of the issue #13832, although the interface
is very crude yet.

git-svn-id: trunk@23217 -
2009-12-21 16:23:56 +00:00
ask
6c94ef0bf7 TAChart: Add AxisToGraph and GraphToAxis functions.
They are just identities yet.

git-svn-id: trunk@23214 -
2009-12-21 11:20:46 +00:00
ask
e63e1febd5 TAChart: Convert Series.UpdateBounds methods to Series.GetBounds.
The logic for updating centralized in Graph.UpdateExtent procedure.

git-svn-id: trunk@23211 -
2009-12-21 09:26:28 +00:00
ask
28506dad55 TAChart: Extract GetGraphPointX function
git-svn-id: trunk@23207 -
2009-12-20 16:46:14 +00:00
ask
0bc78d689a TAChart: Convert some literals to named constants
git-svn-id: trunk@22420 -
2009-11-04 01:26:14 +00:00
ask
4f525db58b TAChart: Fix memory leaks
git-svn-id: trunk@22145 -
2009-10-13 14:23:36 +00:00
ask
6cbc0b7456 TAChart: Remove SeriesColor property from TBasicChartSeries.
Implement it only for those descendants where it makes sense.

git-svn-id: trunk@22089 -
2009-10-09 15:32:29 +00:00
ask
dc0f603493 TAChart: Move source-related getters and setters from TLineSeries to TChartSeries.
Sort the rest of TLineSeries methods alphabetically.

git-svn-id: trunk@21903 -
2009-09-28 13:13:10 +00:00
ask
c3acc13054 TAChart: Replace TChartSeries.GetCoords procedure with GetGraphPoint function
git-svn-id: trunk@21901 -
2009-09-27 16:07:43 +00:00
ask
33343e7d67 TAChart: Minor cleanups:
Move ShowInLegend initialization into TCustomChartSeries.
  Add empty override for TUserDrawnSeries.GetLegendItems.

git-svn-id: trunk@21900 -
2009-09-27 15:24:39 +00:00
ask
b3570afa1e TAChart: Trivial hint fixes
git-svn-id: trunk@21892 -
2009-09-27 11:28:36 +00:00
ask
4101d61d99 TAChart: Refactor legend drawing
git-svn-id: trunk@21887 -
2009-09-27 07:02:03 +00:00
ask
d1f35dc29f TAChart: Extract TCustomChartSeries class
git-svn-id: trunk@21824 -
2009-09-22 16:35:01 +00:00
ask
4209ed3b45 TAChart: Extract TChartSeries class into a new TACustomSeries unit
git-svn-id: trunk@21817 -
2009-09-22 12:53:30 +00:00