Commit Graph

44 Commits

Author SHA1 Message Date
ask
ce8f80bc53 TAChart: Move Active property to TBasicChartSeries class
git-svn-id: trunk@19090 -
2009-03-24 11:19:03 +00:00
ask
073e79c380 TAChart: Improve reticules.
- unify and simplify reticule drawing
  - allow vertical, horizontal or cross reticules
  - update demo

git-svn-id: trunk@19025 -
2009-03-18 16:24:07 +00:00
ask
c3693ef736 TAChart: Use operator= instead of EqualPoints function.
git-svn-id: trunk@19024 -
2009-03-18 11:57:52 +00:00
ask
3667b3ea5e TAChart: Refactoring: use points instead of separate x and y coordinates
git-svn-id: trunk@18890 -
2009-03-04 08:35:59 +00:00
ask
6e5def3ad7 TAChart: Group series mark parameters into TChartMarks class. Update demo.
git-svn-id: trunk@18882 -
2009-03-03 16:32:50 +00:00
ask
bc49d5bfb4 TAChart: extracted auxiliary chart elements into a TATypes unit. Fixed style.
git-svn-id: trunk@18880 -
2009-03-03 15:42:24 +00:00
ask
ca17997c57 TAChart: allow series to include margins.
git-svn-id: trunk@18871 -
2009-03-02 15:21:26 +00:00
ask
b83050cf62 TAChart: change inherited methods visibility to match parent class.
git-svn-id: trunk@18855 -
2009-03-01 10:51:37 +00:00
ask
c27d946f16 TAChart: refactor zooming
git-svn-id: trunk@18818 -
2009-02-24 11:43:48 +00:00
paul
f8e23f2d0d tachart: correct asterisks positions
git-svn-id: trunk@18780 -
2009-02-20 15:34:27 +00:00
ask
facc55f1a3 TAChart: Add Alexander Klenin to authors
issue #13214 part 6

git-svn-id: trunk@18778 -
2009-02-20 14:30:06 +00:00
ask
ee315fb844 TAChart series editor: adding, deleting and selection of series
issue #13214 part 3

git-svn-id: trunk@18775 -
2009-02-20 14:22:48 +00:00
ask
7ab4967ab9 TAChart: Prepare series code for design-time editing. Publish Series property.
issue #13214 part 2

git-svn-id: trunk@18774 -
2009-02-20 14:19:05 +00:00
vincents
69610334ef TAChart: Make Assign and EraseBackground methods public, as inherited ones
patch by: Alexander Klenin
part 4 of issue #13201

git-svn-id: trunk@18749 -
2009-02-18 12:22:32 +00:00
vincents
a945bd4085 TAChart: Remove {$MODE DELPHI} and {$IFDEF fpc}
patch by: Alexander Klenin
part 3 of issue #13201

git-svn-id: trunk@18748 -
2009-02-18 12:20:30 +00:00
vincents
6eda89f398 TAChart: Refactor coordinate transformations
patch by: Alexander Klenin
part 2 of issue #13201

git-svn-id: trunk@18747 -
2009-02-18 12:17:29 +00:00
vincents
161a59bc94 TAChart: Make TChart.Series an indexed property of proper type
patch by: Alexander Klenin
part 1 of issue #13201

git-svn-id: trunk@18746 -
2009-02-18 12:14:45 +00:00
vincents
06cd260566 TAChart: fix SeriesColor to work uniformly for all kinds of series
patch by: Alexander Klenin
fixes issue #13184

git-svn-id: trunk@18709 -
2009-02-16 15:43:42 +00:00
vincents
583ce96cbe TAChart: published DoubleBuffered
git-svn-id: trunk@18699 -
2009-02-15 18:44:08 +00:00
vincents
0d8393edf7 TAChart: Refactor Reticules. Remove circular dependency TAGraph -> TASeries
patch by: Alexander Klenin
part 2 of issue #13163

git-svn-id: trunk@18671 -
2009-02-13 20:51:16 +00:00
vincents
eb20e8d8cd TAChart: Extract DrawIfActive and AfterAdd procedures. Minor style fixes.
patch by: Alexander Klenin
part 1 of issue #13163

git-svn-id: trunk@18670 -
2009-02-13 20:45:43 +00:00
vincents
9335ffdf78 TAChart: fixed diminishing size of bar charts
patch by: Alexander Klenin
fixes issue (13130)

git-svn-id: trunk@18649 -
2009-02-12 14:51:34 +00:00
vincents
a9c58c425c TAChart: Legend refactoring
patch by: Alexander Klenin
fixes issue (13119)

git-svn-id: trunk@18644 -
2009-02-12 09:57:51 +00:00
vincents
01263f360b tachart: made TCustomChart a TCustomControl, so we can prevent erasing the background and have less flickering
patch by: Alexander Klenin
fixes issue (12377)

git-svn-id: trunk@18643 -
2009-02-12 09:52:26 +00:00
darius
488a25bd42 1) Created new unit TAChartUtils, moved some support code into it.
2) Heavily refactored code of CalculateIntervals and TAGraph.DrawAxis procedures -- removed lots of duplicated code, simplifed logic, extracted local procedures etc.
3) Introduced TPenBrushFontRecall helper class.
4) Added 'Axis titles' checkbox to the demo program.

Patch by Alexander Klenin
Resolves: http://bugs.freepascal.org/view.php?id=12758

git-svn-id: trunk@17799 -
2008-12-11 18:57:43 +00:00
darius
897938b8e4 Patch by Alexander Klenin
- Extract duplicated code into TAGraph.LineInViewPort function.
- Heavily rearrange code inside TSerie.Draw and TAreaSeries.Draw procedures to enchance readability, remove code duplication and get rid of 'goto' statement.
- Fix a bug in TAreaSeries.Draw: areas higher then current viewport were not drawn.
- Use ACanvas parameter instead of ParentChart.Canvas in Draw procedures.
- Remove unused variables in TAGraph unit.

Fixes: http://bugs.freepascal.org/view.php?id=12618

git-svn-id: trunk@17399 -
2008-11-15 16:07:01 +00:00
paul
acf0fa16a8 components: reduce hints in tachart package
git-svn-id: trunk@17378 -
2008-11-14 02:10:29 +00:00
darius
12dbeac781 Consistent indenting, whitespaces and upper/lower case.
Removed a few unnecessary comments and begin/end blocks.

By Alexander Klenin 
http://bugs.freepascal.org/view.php?id=12611

git-svn-id: trunk@17352 -
2008-11-12 09:23:19 +00:00
darius
cde07c30e6 Remove TAEngine unit and TSeriesList class
Auto-update chart when one of its series is destroyed

patch by Alexander Klenin 
http://bugs.freepascal.org/view.php?id=12589

git-svn-id: trunk@17289 -
2008-11-08 21:08:01 +00:00
darius
f1f3e50cdb refactoring patch by Alexander Klenin
fixes: http://bugs.freepascal.org/view.php?id=12584

git-svn-id: trunk@17270 -
2008-11-07 21:46:59 +00:00
vincents
859e0971bf tachart: published TChart.Anchors (issue #12169)
git-svn-id: trunk@16630 -
2008-09-17 20:32:14 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
vincents
59c009eaf5 TAChart: Fixed Legend selection bug, DrawLegend bugfix (by Anton Vychegzhanin) (bug #11398)
git-svn-id: trunk@15289 -
2008-06-02 13:28:08 +00:00
paul
549dec3b81 TAChart: fix mem leak
git-svn-id: trunk@14486 -
2008-03-10 12:44:31 +00:00
paul
ac87b13fd2 TAChart:
- don't reset XChartXXX if AutoUpdateXXX is False
- correct loading component
(patch from Sileno Goedicke with modifications)

git-svn-id: trunk@14484 -
2008-03-10 11:27:20 +00:00
vincents
675e3bee30 TAChart: Code cleanups and bugfixes (bugfixes by Uwe Zimmermann and Oled), bug #10699
git-svn-id: trunk@13877 -
2008-01-25 14:45:02 +00:00
vincents
e1e7e14329 TAChart: Implemented ZoomFull, PaintOnCanvas and slight modifications to add TSerie pen style (by oleg), issue #10679
git-svn-id: trunk@13854 -
2008-01-24 12:00:43 +00:00
vincents
1d52ab2160 tachart: Bugfixes and partially implemented multibar in TBarSeries (bug #9802) from Luis Rodrigues
git-svn-id: trunk@12203 -
2007-09-27 19:44:46 +00:00
vincents
0517388a07 chart component: patch from Luis Rodrigues (bug #9530)
* Bug fixes (clipping and typo in source)
+ SaveToBitmapFile
+ CopyToClipboardBitmap;

git-svn-id: trunk@12065 -
2007-09-18 09:02:01 +00:00
vincents
51fe94a1a8 TAChart: patch from Luis Rodrigues and Helio Rocha-Pinto (bug #9507)
+ implemented property Inverted
* bug fixes

git-svn-id: trunk@11873 -
2007-08-28 15:59:34 +00:00
vincents
c123b3ac70 TAChart: re-added icon in component bar
git-svn-id: trunk@10960 -
2007-04-17 14:51:47 +00:00
vincents
9e0cbc1e29 TAChart: Series clipping bugfixes and partially implement TSeriesPointer from Luis Rodrigues (issue #8706)
git-svn-id: trunk@10959 -
2007-04-17 14:43:02 +00:00
vincents
ebefd69526 TAChart: bug fixes and implemented Series.ShowInLegend from Luis Rodrigues
git-svn-id: trunk@10791 -
2007-03-23 19:38:50 +00:00
vincents
199216e26a tachart: fixed wrong move
git-svn-id: trunk@10662 -
2007-02-20 11:26:46 +00:00