Commit Graph

133 Commits

Author SHA1 Message Date
ask
f234d5845a TAChart: Add TPieSeries.RotateLabels property. Update demo.
git-svn-id: trunk@28695 -
2010-12-12 09:44:34 +00:00
ask
a53c2ca71c TAChart: Minor improvements to r28692 #6501a28e5a
git-svn-id: trunk@28694 -
2010-12-12 09:11:13 +00:00
ask
e91b9e79f8 TAChart: Additional overloads for UpdateMinMax, ExpandRect, IsPointInRect utility functions
git-svn-id: trunk@28691 -
2010-12-12 08:46:08 +00:00
ask
7fcd05e49f TAChart: Add TPieSeries.FindContainingSlice function. Extract Measure helper method.
git-svn-id: trunk@28548 -
2010-11-28 19:41:13 +00:00
ask
b1578e5dac TAChart: Precisely calculate extra distance to pie series labels. Partially fixes issue #17988
git-svn-id: trunk@28368 -
2010-11-20 12:09:15 +00:00
ask
18dbaee9bd TAChart: Add InterpolateRGB utility function
git-svn-id: trunk@27736 -
2010-10-17 09:05:09 +00:00
ask
e52d954696 TAChart: Move TSeriesPointerStyle from TAChartUtils to TATypes unit.
git-svn-id: trunk@27464 -
2010-09-26 03:25:35 +00:00
ask
e7e1f256d3 TAChart: Add ps[Left|Right]Triangle pointer styles
git-svn-id: trunk@27463 -
2010-09-26 03:21:11 +00:00
ask
e060bcd1aa TAChart: Initial implementation of TCalculatedChartSource
git-svn-id: trunk@27143 -
2010-08-19 09:37:02 +00:00
ask
3f86d53688 TAChart: Add operator*(TPoint, TPoint)
git-svn-id: trunk@27076 -
2010-08-12 15:46:01 +00:00
ask
76b6278554 TAChart: Improve area series drawing.
+ Refactor drawing code
+ Add TAreaSeries.AreaContourPen
+ Support rotated series

git-svn-id: trunk@27022 -
2010-08-07 16:48:53 +00:00
ask
a11a0af094 TAChart: Extract DoubleInterval utility function
git-svn-id: trunk@27019 -
2010-08-07 14:32:48 +00:00
ask
3e3d59a460 TAChart: Update tools demo to include fixed-point zooming. Some refactoring.
git-svn-id: trunk@26954 -
2010-08-01 04:25:31 +00:00
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
ce2a245445 TAChart: Add temporary storage for drawing-time data.
git-svn-id: trunk@26924 -
2010-07-31 07:02:12 +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
21f2841210 TAChart: Make TChartAxisTitle a descendant of TGenericChartMarks.
This results in:
+ New LabelBrush and Frame properties
+ Overall code reduction
+ Support for arbitrary font orientation for axis titles
- Font property is now named LabelFont

git-svn-id: trunk@26776 -
2010-07-22 10:45:51 +00:00
ask
e46c3429be TAChart: Add RotatePoint utility function and various point operators
git-svn-id: trunk@26769 -
2010-07-22 04:39:30 +00:00
ask
aa11530e5a TAChart: Add IsPointInPolygon and IsPolygonIntersectsPolygon utility functions
git-svn-id: trunk@26699 -
2010-07-16 20:44:54 +00:00
ask
c786d4253b TAChart: Add IsLineIntersectsLine and IsPointInRect utility functions
git-svn-id: trunk@26690 -
2010-07-16 17:50:16 +00:00
ask
67561b71a3 TAChart: Add SafeInRange and IsPointOnLine utility functions
git-svn-id: trunk@26688 -
2010-07-16 16:35:50 +00:00
ask
be405ec70a TAChart: Extract TADrawUtils unit
git-svn-id: trunk@26686 -
2010-07-16 14:12:55 +00:00
ask
1e37069221 TAChart: Fix interval merging
git-svn-id: trunk@26676 -
2010-07-16 08:15:53 +00:00
ask
68caa0b7e3 TAChart: Transmit sender in broadcast notifications
git-svn-id: trunk@25940 -
2010-06-06 05:58:56 +00:00
ask
d6b37e7cb4 TAChart: Use EnsureOrder and NormalizeRect throughout the code
git-svn-id: trunk@25919 -
2010-06-05 14:22:22 +00:00
ask
95f7e807b0 TAChart: Add EnsureOrder and ExpandRect utility functions
git-svn-id: trunk@25917 -
2010-06-05 14:15:35 +00:00
ask
ccbc4bbb33 TAChart: Add DoublePoint utility function
git-svn-id: trunk@25887 -
2010-06-04 09:20:22 +00:00
ask
0106d929e9 TAChart: Move $HINTS OFF directive to the correct place
git-svn-id: trunk@25759 -
2010-05-30 08:11:05 +00:00
ask
78eb50a8d5 TAChart: Extract PrepareSimplePen utility procedure
git-svn-id: trunk@25062 -
2010-04-29 06:19:37 +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
21c09ad7e9 TAChart: Make Axis.Inverted work for customized marks
git-svn-id: trunk@24571 -
2010-04-11 08:49:52 +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
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
af9b033b42 TAChart: Implement TZoomDragTool using LogicalExtent instead of ZoomToRect
git-svn-id: trunk@24352 -
2010-04-01 13:24:27 +00:00
ask
fafe56406f TAChart: Add operator- for TDoublePoint
git-svn-id: trunk@24349 -
2010-04-01 12:58:15 +00:00
ask
55e3c12e7d TAChart: Add operator+ for TDoublePoint and operator- for TPoint
git-svn-id: trunk@24336 -
2010-04-01 10:47:13 +00:00
ask
bce837f856 TAChart: Extract BoundsSize utility function
git-svn-id: trunk@24329 -
2010-04-01 03:38:02 +00:00
ask
130b0d9d2d TAChart: Move PrepareXorPen procedure to TAChartUtils unit
git-svn-id: trunk@24276 -
2010-03-29 10:32:36 +00:00
ask
5e12f2c568 TAChart: Fix insufficient rounding during axis marks calculation
git-svn-id: trunk@24146 -
2010-03-21 15:07:23 +00:00
ask
1d63cd7ced TAChart: Add TPoint addition operator to utilities.
git-svn-id: trunk@24124 -
2010-03-21 02:51:04 +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
85a6d9eae3 TAChart: Use overloaded operator= instead of LCLProc.CompareMethods
git-svn-id: trunk@22376 -
2009-11-02 01:11:56 +00:00
ask
989229c520 TAChart: Add TIntervalList class
git-svn-id: trunk@22373 -
2009-11-02 00:53:32 +00:00
ask
07eff61bbc TAChart: Remove unused units. Sort series methods alphabetically.
git-svn-id: trunk@22090 -
2009-10-09 16:44:26 +00:00
ask
a38a0fce73 TAChart: Extract TypicalTextHeight function
git-svn-id: trunk@21902 -
2009-09-28 12:36:13 +00:00
ask
50cc9941e0 TAChart: Extract TPieSeries.SliceColor function. Remove MaxColor constant.
git-svn-id: trunk@21889 -
2009-09-27 08:22:27 +00:00
ask
0cf1c8c60c TAChart: Add ZeroDoublePoint constant
git-svn-id: trunk@21851 -
2009-09-25 01:01:13 +00:00
ask
a1248af92d TAChart: Improve drawing of area series
* Extract NormalizeRect procedure
* Fix and simplify TAreaSeries.Draw 

git-svn-id: trunk@20651 -
2009-06-17 14:59:33 +00:00
ask
59b06381b8 TAChart: Fix axis drawing with inverted axises and under extreme zoom factors
git-svn-id: trunk@20650 -
2009-06-17 12:27:31 +00:00
ask
a81b58fb8b TAChart: Minor refactoring.
git-svn-id: trunk@20634 -
2009-06-15 14:08:56 +00:00
ask
e8953985b2 TAChart: Bar drawing improvements.
* Extract RectIntersectsRect and ExpandRange procedures.
* Fix various issues with zoomed display of bar series.
* Allow variable-width bars.
* Replace hack in extent calculation with correct code.
* Remove auto-adjustment of bar width to a multiple bar series.
  This was an ugly hack and should be re-implemented properly later.

git-svn-id: trunk@20633 -
2009-06-15 14:04:55 +00:00
ask
db62e824ab TChart: Fix drawing of line series under the large zoom.
* Extract LineIntersectsRect function. 
* Introduce RoundChecked function.
* Mark connectors are now drawn below series pointers.

git-svn-id: trunk@20624 -
2009-06-14 06:47:22 +00:00
ask
05136fc2e5 TAChart: Add Axis.Title.Distance property. Minor refactoring.
git-svn-id: trunk@20404 -
2009-06-04 15:58:58 +00:00
ask
b13a1bbcb0 TAChart: Extract GetIntervals function
git-svn-id: trunk@20403 -
2009-06-04 15:08:28 +00:00
ask
e93779cdaa TAChart: Move clTAColor to TAChartUtils. Fix error message.
git-svn-id: trunk@20151 -
2009-05-24 01:38:30 +00:00
ask
d8bc38d03f TAChart: Improve Extent processing for series.
* Move Extent calculation and caching to TListChartSource class.
* Replace TChartSeries.{X/Y}Graph{Min/Max} by Extent property.
* Various fixes related to extent cache coherence.

git-svn-id: trunk@20136 -
2009-05-23 04:01:13 +00:00
ask
5210783530 TAChart: Make TListChartSource a component.
* Move TChart and TListChartSource to a separate component page
* Initial crude implementation of design-time data point editing

git-svn-id: trunk@20135 -
2009-05-22 23:36:57 +00:00
ask
b7c121c677 TAChart: Extract former CoordList into TCustomChartSource class in TASource unit.
git-svn-id: trunk@20112 -
2009-05-22 01:46:43 +00:00
ask
d18b9a4254 TAChart: UpdateMinMax should update both min and max if necessary.
git-svn-id: trunk@20088 -
2009-05-21 07:16:09 +00:00
ask
5f1f1c8897 TAChart: Extract UpdateMinMax procedure.
git-svn-id: trunk@19922 -
2009-05-11 08:54:27 +00:00
ask
5417718761 TAChart: Use Font.Orientation (available since r19734 #9c170f9a4f) instead of own RotateLabel procedure
git-svn-id: trunk@19747 -
2009-05-01 17:58:53 +00:00
ask
7277e0b12c TAChart: 3D look for bar series.
* Add Series.Depth property
* Publish and impement it in TBarSeries
* Update demo

git-svn-id: trunk@19628 -
2009-04-26 07:11:58 +00:00
ask
56cc734a27 TAChart: Add DoubleRect utility function, EChartError base exception class.
git-svn-id: trunk@19603 -
2009-04-24 11:32:33 +00:00
ask
2117d39cf8 TAChart: add default values to published properties, minor cleanups.
git-svn-id: trunk@19540 -
2009-04-21 05:49:44 +00:00
ask
1184f95530 TAChart: Silence 'parameter is unused' hint. Fix unitialized variable.
git-svn-id: trunk@19324 -
2009-04-10 21:25:57 +00:00
ask
a95dcafbfb TAChart: Fixed compilation on FPC 2.3.1
git-svn-id: trunk@19170 -
2009-03-31 07:48:56 +00:00
ask
9d35d8873d TAChart: Add few more pointer styles. Fix warning.
git-svn-id: trunk@19163 -
2009-03-31 03:43:52 +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
c6c378afb6 TAChart: Introduce OnDrawPointer event for line series
git-svn-id: trunk@19022 -
2009-03-18 10:26:01 +00:00
ask
ff8f6f5edd TAChart: Moved TSeriesPointer class to TATypes unit and inherited it from TChartElement.
git-svn-id: trunk@18980 -
2009-03-13 11:49:02 +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
a99d32c9be TAChart: Add Frame, LabelBrush, LabelFont, LinkPen properties to TChartMarks, use them for drawing. Update demo.
git-svn-id: trunk@18884 -
2009-03-03 18:28:44 +00:00
ask
8cbced0728 TAChart: remove leftover {$MODE DELPHI}
git-svn-id: trunk@18873 -
2009-03-02 15:23:51 +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
paul
f8e23f2d0d tachart: correct asterisks positions
git-svn-id: trunk@18780 -
2009-02-20 15:34:27 +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
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