Commit Graph

45 Commits

Author SHA1 Message Date
darius
e7e358fdad removed code beyond end. keyword of unit, caused by applying the diff a couple of times
git-svn-id: trunk@17809 -
2008-12-12 01:02:52 +00:00
darius
305b5215ab forgot to add the fie in r17799 #488a25bd42
git-svn-id: trunk@17800 -
2008-12-11 21:48:10 +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
648e302cbe added option to show/hide gridlines to demo
used in relation to bugreport: http://bugs.freepascal.org/view.php?id=12171

git-svn-id: trunk@17528 -
2008-11-22 19:19:10 +00:00
darius
0d6bfec764 TChartSeries.AddXY inserts new point into a sorted list, which have O(N^2) computational cost.
This speeds up adding really long series.

Patch from Alexander Klenin
http://bugs.freepascal.org/view.php?id=12642

git-svn-id: trunk@17504 -
2008-11-22 09:44:29 +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
2b8ff3ad92 Code cleanup, variable and component renaming
Demo now does not SIGSEGV no matter what button user pressed :-)
Ability to clear series in the demo 

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

git-svn-id: trunk@17290 -
2008-11-08 21:21:35 +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
vincents
66ef33f52b reverted revison 17284: useful parts can be committed in seperate commits
git-svn-id: trunk@17287 -
2008-11-08 19:39:33 +00:00
jesus
b38dc6e63f updated localize script to handle only those dirs not handled by i18n feature, commented wake up gtk dbg ouput
git-svn-id: trunk@17284 -
2008-11-08 18:55:15 +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
darius
101d1a7688 applied reformatting patch from Alexander Klenin
http://bugs.freepascal.org/view.php?id=12577

git-svn-id: trunk@17252 -
2008-11-06 18:24:10 +00:00
darius
fdbdc5410b Added two more styles to TSeriesPointerStyle type, useful when there is a need to draw value intervals on a chart
path by Alexander Klenin

git-svn-id: trunk@17240 -
2008-11-05 17:58:25 +00:00
mattias
627a0265fb changed default widgetset gtk to gtk2
git-svn-id: trunk@16910 -
2008-10-07 12:05:16 +00:00
vincents
caa77fa33c components: regenerated makefiles after changes in the order of the compiler options
git-svn-id: trunk@16720 -
2008-09-25 08:06:10 +00:00
vincents
859e0971bf tachart: published TChart.Anchors (issue #12169)
git-svn-id: trunk@16630 -
2008-09-17 20:32:14 +00:00
vincents
67d6b15a92 components: regenerated Makefiles
git-svn-id: trunk@16275 -
2008-08-27 20:57:57 +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
652b5eb74c default widget set for Mac OS X is now Carbon, not gtk1
git-svn-id: trunk@15488 -
2008-06-20 19:33:44 +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
vincents
ac26bc73d0 components: tachart: make unit output directory widget dependent
git-svn-id: trunk@14773 -
2008-04-07 09:49:38 +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
d6147ba4e0 components: adding support for bigideclean target without requiring to a cleanall target in the Makefiles of each component
git-svn-id: trunk@14456 -
2008-03-07 12:52:00 +00:00
mattias
a71b6c97ca improved make cleanall fro Mazen
git-svn-id: trunk@14157 -
2008-02-16 11:09:45 +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
40ece1368b TAChart: removed session info from the .lpi file
git-svn-id: trunk@13855 -
2008-01-24 12:15:26 +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
paul
7aeaebca00 new image for TChar from Bee
git-svn-id: trunk@13312 -
2007-12-13 07:55:02 +00:00
mattias
d8ef375589 replaced non utf-8 char
git-svn-id: trunk@13007 -
2007-11-24 20:38:59 +00:00
vincents
1197001bda tachart: updated demo (bug #9805) from Luis Rodrigues
git-svn-id: trunk@12211 -
2007-09-28 08:09:36 +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
9da20e1178 tachart: removed wrong unit search dir
git-svn-id: trunk@11271 -
2007-06-03 13:23:21 +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
3fc4f456a7 tachart: user lowercase unit filenames
git-svn-id: trunk@10663 -
2007-02-20 11:31:09 +00:00
vincents
199216e26a tachart: fixed wrong move
git-svn-id: trunk@10662 -
2007-02-20 11:26:46 +00:00
vincents
f73dc58db5 lowercase
git-svn-id: trunk@10661 -
2007-02-20 11:24:55 +00:00
vincents
127611dbdf TAChart: added icon, added to make bigide
git-svn-id: trunk@10660 -
2007-02-20 10:57:42 +00:00
vincents
7d1493c48a added tachart components from Philippe Martinole and Luis Rodrigues (bug #8269)
git-svn-id: trunk@10658 -
2007-02-19 15:17:14 +00:00