Commit Graph

165 Commits

Author SHA1 Message Date
ask
545f1d7cda TAChart: Add Axis.PositionUnits property
git-svn-id: trunk@37512 -
2012-06-04 14:08:43 +00:00
ask
71d05cc6c6 TAChart: Fix range check using datapoint tool on a chart without series
git-svn-id: trunk@37418 -
2012-05-25 13:48:17 +00:00
ask
9c33a8ec42 TAChart: Move ExpandRange procedure to TAMath unit
git-svn-id: trunk@32699 -
2011-10-05 10:03:34 +00:00
ask
bed7d78b47 TAChart: Extract TAMath unit
git-svn-id: trunk@32688 -
2011-10-05 05:40:51 +00:00
ask
6cad306a34 TAChart: Support NaNs in bar series
git-svn-id: trunk@32321 -
2011-09-13 16:40:44 +00:00
ask
f15f938f64 TAChart: Fix out-of-range array access in TIntervalList.AddRange
git-svn-id: trunk@32308 -
2011-09-13 07:14:43 +00:00
ask
24260c4e30 TAChart: Skip NaNs when drawing line series
git-svn-id: trunk@32307 -
2011-09-13 04:32:43 +00:00
ask
5e47f77c8b TAChart: Use $PUSH/$POP instead of $IFDEFs to restore compiler options in SafeInfinity
git-svn-id: trunk@32306 -
2011-09-13 03:45:55 +00:00
ask
d48b6c597d TAChart: Fix compile-time range check errors due to NaN usage
git-svn-id: trunk@32305 -
2011-09-13 03:43:05 +00:00
ask
f3f19b366a TAChart: Add TPublishedIntegerSet utility object. Add tests for it.
git-svn-id: trunk@32202 -
2011-09-07 08:40:20 +00:00
ask
d5ad4ab713 TAChart: Add FormatIfNotEmpty utility function
git-svn-id: trunk@32136 -
2011-08-31 11:05:11 +00:00
ask
6815af3213 TAChart: Use ColorDialog to edit colors in TDataPointsEditorForm
git-svn-id: trunk@32084 -
2011-08-28 11:56:14 +00:00
ask
7195e84854 TAChart: Update chart after change of axis interval parameters
git-svn-id: trunk@31859 -
2011-08-03 16:26:51 +00:00
ask
cf6ddb9fb0 TAChart: Extract StrToFloatDefSep utility function
git-svn-id: trunk@31835 -
2011-07-31 03:41:41 +00:00
ask
6227fc5787 TAChart: Add SetPropDefaults procedure and tests for it
git-svn-id: trunk@31828 -
2011-07-30 14:49:23 +00:00
ask
e8d1819c83 TAChart: Add some strict protected/strict private annotations. Get rid of TCustomSeriesCrack class.
git-svn-id: trunk@31827 -
2011-07-30 08:25:18 +00:00
ask
f58c701d03 TAChart: Measure minor mark labels
git-svn-id: trunk@31768 -
2011-07-20 14:45:20 +00:00
ask
14fabdf99b TAChart: Use enumerators in utils, tools and transformations
git-svn-id: trunk@31700 -
2011-07-14 11:23:17 +00:00
ask
e3caa9ce61 TAChart: Add TListener.OnNotify property
git-svn-id: trunk@31664 -
2011-07-10 16:25:11 +00:00
ask
7954ae2127 TAChart: Move TTransformFunc definition to TAChartUtils. Use it in the axis drawing code.
git-svn-id: trunk@31424 -
2011-06-28 08:58:22 +00:00
ask
980591b46b TAChart: Merge duplicate definitions of TChartColor
git-svn-id: trunk@31392 -
2011-06-26 07:14:37 +00:00
ask
397a0e437e TAChart: Extract TAIntervalSources unit
git-svn-id: trunk@30528 -
2011-05-02 12:22:16 +00:00
ask
dcc462fe9b TAChart: Block all extent notifications in mini-map mode
git-svn-id: trunk@29940 -
2011-03-20 18:30:46 +00:00
ask
26ac2c3d21 TAChart: Extract TAGeometry unit
git-svn-id: trunk@29797 -
2011-03-11 11:42:56 +00:00
ask
d378e66c95 TAChart: Extract WeightedAverage utility function
git-svn-id: trunk@29748 -
2011-03-08 09:17:56 +00:00
ask
c25cf46ae6 TAChart: Auto-rename subcomponents when parent component name changes
git-svn-id: trunk@29331 -
2011-02-02 13:20:31 +00:00
ask
636d7a10cb TAChart: Allow assignment of TFuncSeries, TColorMapSeries, TIntervalList
git-svn-id: trunk@29320 -
2011-02-02 07:50:56 +00:00
ask
e122e92fcf TAChart: Extract RotateRect utility function
git-svn-id: trunk@29309 -
2011-02-02 05:33:37 +00:00
ask
21453ac232 TAChart: Do not automatically normalize rectangle before expanding it. Add test.
git-svn-id: trunk@29101 -
2011-01-18 08:54:00 +00:00
ask
154d4b002a TAChart: Optimize TFuncSeries drawing
git-svn-id: trunk@29093 -
2011-01-18 06:07:26 +00:00
ask
c7b1bd7bda TAChart: Protect PointDist functions from integer overflow.
This fixes issue #18348 (Reticule doesn't work when zoomed)

git-svn-id: trunk@28854 -
2011-01-01 08:21:49 +00:00
ask
5e5be1fbb4 TAChart: Centralize Infinity handling in SafeInfinity function
git-svn-id: trunk@28774 -
2010-12-20 04:09:42 +00:00
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