Commit Graph

78 Commits

Author SHA1 Message Date
ask
8cbced0728 TAChart: remove leftover {$MODE DELPHI}
git-svn-id: trunk@18873 -
2009-03-02 15:23:51 +00:00
ask
17114c5ab7 TAChart: use margins in bar series. Default scale for bar series now adujsts to display labels.
git-svn-id: trunk@18872 -
2009-03-02 15:23:13 +00:00
ask
ca17997c57 TAChart: allow series to include margins.
git-svn-id: trunk@18871 -
2009-03-02 15:21:26 +00:00
ask
0aa059ecff TAChart: display labels on bar series. Initial crude implementation.
git-svn-id: trunk@18859 -
2009-03-01 12:04:40 +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
7385883003 TAChart: refactor bar series drawing
git-svn-id: trunk@18851 -
2009-03-01 09:04:48 +00:00
ask
c27d946f16 TAChart: refactor zooming
git-svn-id: trunk@18818 -
2009-02-24 11:43:48 +00:00
ask
a3580b1459 TAChart: Make marks optional. Allow custom marks formatting.
git-svn-id: trunk@18795 -
2009-02-22 16:06:23 +00:00
ask
4bd8cdc586 TAChart: implement all MarksStyle values for TPieSeries.
Add mark style selection to the demo application.

git-svn-id: trunk@18794 -
2009-02-22 15:10:53 +00:00
ask
61219c304d TAChart: Renamed ChartCoord -> TChartCoord
git-svn-id: trunk@18792 -
2009-02-22 14:41:55 +00:00
paul
f8e23f2d0d tachart: correct asterisks positions
git-svn-id: trunk@18780 -
2009-02-20 15:34:27 +00:00
paul
1a3d8bce05 tachart: fix bigide building
git-svn-id: trunk@18779 -
2009-02-20 15:32:00 +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
604c32679f TAChart: Refactor TLine series. Add static TLine series to the demo
issue #13214 part 5

git-svn-id: trunk@18777 -
2009-02-20 14:28:08 +00:00
ask
f6a27a57d4 TAChart: clean up, fix and expand published properties, since they are now useful
issue #13214 part 4

git-svn-id: trunk@18776 -
2009-02-20 14:25:24 +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
ask
75edc78f04 TAChart series editor: initial design-time form. Does nothing useful yet.
issue #13214 part 1

git-svn-id: trunk@18773 -
2009-02-20 14:04:27 +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
4f120b8014 TAChart: Replace some hard-coded colors by user-changeable properties.
patch by: Alexander Klenin
part 2 of issue #13196

git-svn-id: trunk@18730 -
2009-02-17 13:12:59 +00:00
vincents
c42b11a253 TAChart: Rewrite PieSeries.Draw method. Greatly simplify code. Fix multiple issues with scaling.
patch by: Alexander Klenin
part 1 of issue #13196

git-svn-id: trunk@18729 -
2009-02-17 13:07:11 +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
648cca752a TAChart: Extract StyleChanged into parent class
patch by: Alexander Klenin
part 4 of issue #13163

git-svn-id: trunk@18673 -
2009-02-13 20:56:05 +00:00
vincents
fc69670edb TAChart: Include reticules in demo application
patch by: Alexander Klenin
part 3 of issue #13163

git-svn-id: trunk@18672 -
2009-02-13 20:53:26 +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
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