Commit Graph

169 Commits

Author SHA1 Message Date
wp
df925c15ce TAChart: Revert r60446 #0ec4d4477b (breaks third-party chart sources).
git-svn-id: trunk@60451 -
2019-02-18 18:30:05 +00:00
wp
0ec4d4477b TAChart: Declare the chartsource's XCount and YCount to be Integer, not Cardinal.
git-svn-id: trunk@60446 -
2019-02-18 15:35:14 +00:00
wp
7c5fdfc1d4 TAChart: Fix incomplete support of multiple x values in TListChartSource and DataPointEditor. Issue #35089.
git-svn-id: trunk@60425 -
2019-02-15 11:45:51 +00:00
wp
7ea6dda14a TAChart: Fix stacked bar series containing missing values (NaN).
git-svn-id: trunk@60355 -
2019-02-07 15:38:55 +00:00
wp
9bfe23796d TAChart: Publish error bar params for TUserDefinedChartSource. Add method to query effective error bar values from chart source.
git-svn-id: trunk@58604 -
2018-07-23 22:09:06 +00:00
wp
4146796ac4 TAChart: Rename ErrorBar properties (PosDelta --> ValuePlus, etc). Avoid storage of new error bar classes if not used. Reset RandomChartSeries when error bar parameters change.
git-svn-id: trunk@58602 -
2018-07-23 13:24:49 +00:00
wp
117f0ddf30 TAChart: Fix RandomChartSource crashing when XCount is set to value > 1.
git-svn-id: trunk@58600 -
2018-07-23 09:41:02 +00:00
wp
1168572c7d TAChart: Initial implementation of error bars for TLineSeries, TCubicSplineSeries, TBSplineSeries and TFitSeries.
git-svn-id: trunk@58597 -
2018-07-22 22:03:36 +00:00
wp
762e695242 TAChart: New TLineSeries property ColorEach for individual coloring of line segments.
git-svn-id: trunk@57277 -
2018-02-10 20:41:31 +00:00
wp
2a5154bef1 TAChart: Accept date/time strings in TListChartSource.DataPoints
git-svn-id: trunk@56940 -
2018-01-03 17:36:12 +00:00
wp
59e3f04835 TAChart: Fix RandomChartSource crashing if PointsNumber is 1.
git-svn-id: trunk@56490 -
2017-11-24 21:52:39 +00:00
wp
4f4247f13c TAChart: Introduce multiple x values to chart sources.
git-svn-id: trunk@51744 -
2016-02-28 15:35:44 +00:00
ask
5429593781 TAChart: Re-start random source sequence after any property change
git-svn-id: trunk@41797 -
2013-06-22 13:08:27 +00:00
ask
f0b282dbd0 TAChart: Add TRandomChartSource.YNanPercent property
git-svn-id: trunk@41770 -
2013-06-20 00:39:58 +00:00
juha
ecd140c985 Improve license headers in sources, part 2. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41389 -
2013-05-25 09:22:25 +00:00
ask
b7d4efbbb2 TAChart: Extract utility function Split
git-svn-id: trunk@39600 -
2012-12-20 16:51:53 +00:00
ask
ea61e7b307 TAChart: Fix SIGFPE on TListChartSource.SetXValue(NaN) and SetYValue(NaN)
git-svn-id: trunk@38812 -
2012-09-24 14:39:32 +00:00
ask
88ff18a61a TAChart: Do not notify from TListChartSource.SetXValue and SetYValue if the value did not actually change.
git-svn-id: trunk@38779 -
2012-09-21 10:51:46 +00:00
ask
1789905e3c TAChart: Fix TChartSeries.SetColor to notify all listeners and require ListSource. Add TListChartSource.SetColor
git-svn-id: trunk@38733 -
2012-09-18 11:54:34 +00:00
ask
5c77b8e843 TAChart: Add TListChartSource.SetText and TChartSeries.SetText procedures
git-svn-id: trunk@38732 -
2012-09-18 11:48:15 +00:00
ask
583c74c2cc TAChart: Fix update of TListChartSource.ValuesTotal cache when adding or removing NaNs
git-svn-id: trunk@38694 -
2012-09-16 17:44:59 +00:00
ask
ddfd58d1de TAChart: Add TCustomAnimatedChartSource
git-svn-id: trunk@38442 -
2012-08-30 15:11:50 +00:00
ask
58cb183a8f TAChart: Issue change notifications when modifying TListChartSource.DataPoint property
git-svn-id: trunk@38261 -
2012-08-16 17:28:45 +00:00
ask
dcf6e40f02 TAChart: Include Item.Y in reordered list of TCalculatedChartSource. Update test.
git-svn-id: trunk@37588 -
2012-06-08 08:57:14 +00:00
ask
7ef45b44d0 TAChart: Use partial arrays instead of pointers to implement TListChartSource.AddXYList
git-svn-id: trunk@37580 -
2012-06-08 06:33:18 +00:00
ask
3d7ff766da TAChart: Check for incorrect parameters in TListChartSource.AddXYList. Add tests.
git-svn-id: trunk@37578 -
2012-06-08 05:32:33 +00:00
ask
3aa1d2ee1d TAChart: Add TListChartSource.AddXYList method
git-svn-id: trunk@37577 -
2012-06-08 03:39:04 +00:00
ask
41f098ceb6 TAChart: Fix typo in the method name: CopyForm -> CopyFrom. Update demos
git-svn-id: trunk@33132 -
2011-10-28 11:41:28 +00:00
ask
12764cd011 TAChart: Correctly invalidate extent in TListChartSource.Delete
git-svn-id: trunk@33023 -
2011-10-22 17:42:04 +00:00
ask
bed7d78b47 TAChart: Extract TAMath unit
git-svn-id: trunk@32688 -
2011-10-05 05:40:51 +00:00
ask
979e916f7b TAChart: Add smoothed derivative source. Update demo.
git-svn-id: trunk@32412 -
2011-09-18 21:35:15 +00:00
ask
dfb6783a88 TAChart: Implement AccumulationDirection for derivative source. Add tests.
git-svn-id: trunk@32407 -
2011-09-18 15:26:05 +00:00
ask
3b18b3adee TAChart: Refactor TCalculatedChartSource.ExtractItem/GetOriginItem
git-svn-id: trunk@32398 -
2011-09-18 11:07:28 +00:00
ask
27ff423301 TAChart: Add TCalculatedChartSource.AccumulationDirection property. Add tests.
git-svn-id: trunk@32396 -
2011-09-18 10:13:40 +00:00
ask
22d381a9b0 TAChart: Set Y instead of X to NaN in derivative source
git-svn-id: trunk@32331 -
2011-09-14 11:19:15 +00:00
ask
ef2a5f2019 TAChart: Extract TChartDataItem.MultiplyY and SetY methods
git-svn-id: trunk@32330 -
2011-09-14 11:17:42 +00:00
ask
14906e1e61 TAChart: Add "strict" visibility specifiers
git-svn-id: trunk@32325 -
2011-09-13 18:02:30 +00:00
ask
04b8a56aa0 TAChart: Skip leftmost point and points with dx = 0 in derivative source
git-svn-id: trunk@32324 -
2011-09-13 17:43:34 +00:00
ask
8b1c326147 TAChart: Support NaN in TListChartSource.SetXValue and SetYValue. Add tests.
git-svn-id: trunk@32311 -
2011-09-13 07:54:01 +00:00
jesus
78d95df812 tachart, fix compiler confusion on what version of overloaded function to call
git-svn-id: trunk@32208 -
2011-09-07 18:43:26 +00:00
ask
50521088ff TAChart: Prevent out-of-range access with AccumulationRange=0 and AccumulationMethod=camDerivative
git-svn-id: trunk@32205 -
2011-09-07 10:08:08 +00:00
ask
643751d975 TAChart: Workaround for the derivative calculation at the first data point
git-svn-id: trunk@32204 -
2011-09-07 09:36:25 +00:00
ask
aca1ae3c43 TAChart: Change TCalculatedChartSource.AccumulationRange default value from 1 to 2
git-svn-id: trunk@32201 -
2011-09-07 08:24:48 +00:00
ask
842f2e1772 TAChart: Add camDerivative value to TCalculatedChartSource.AccumulationMethod
git-svn-id: trunk@32184 -
2011-09-05 11:09:12 +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
cf6ddb9fb0 TAChart: Extract StrToFloatDefSep utility function
git-svn-id: trunk@31835 -
2011-07-31 03:41:41 +00:00
ask
9ddaa28a8f TAChart: Remove "const" from some parameters where it is unneeded or dangerous
git-svn-id: trunk@31673 -
2011-07-12 08:03:40 +00:00
ask
397a0e437e TAChart: Extract TAIntervalSources unit
git-svn-id: trunk@30528 -
2011-05-02 12:22:16 +00:00
ask
48e27c17da TAChart: Always reset the extent after EndUpdate in TUserDefinedChartSource
git-svn-id: trunk@30379 -
2011-04-19 07:28:54 +00:00
ask
7f4cc4b2f4 TAChart: Fix TCalculatedChartSource crashes, update line demo
git-svn-id: trunk@28804 -
2010-12-22 12:24:31 +00:00
ask
1e97fa9ad8 TAChart: TCalculatedChartSource.AccumulationRange = 0 now means to accumulate from the start of the source
git-svn-id: trunk@28803 -
2010-12-22 11:38:40 +00:00
ask
7abae0cdec TAChart: Optimize reverse-order access to TCalculatedChartSource
git-svn-id: trunk@28802 -
2010-12-22 11:06:10 +00:00
ask
b669510279 TAChart: Add TChartSourceBuffer utility class
git-svn-id: trunk@28800 -
2010-12-22 10:31:17 +00:00
ask
ad6b453cb2 TAChart: Extract TACustomSource unit
git-svn-id: trunk@28787 -
2010-12-20 09:44:42 +00:00
ask
0cda469949 TAChart: Fix average accumulation for the starting values
git-svn-id: trunk@28781 -
2010-12-20 08:13:07 +00:00
ask
d16b7539c1 TAChart: Update calculated source upon change of the Origin.YCount
git-svn-id: trunk@28779 -
2010-12-20 07:19:59 +00:00
ask
78edde4ece TAChart: Reset the cached index of the calculated source after the change
git-svn-id: trunk@28777 -
2010-12-20 07:00:22 +00:00
ask
14e195bce8 TAChart: Add default values for parameters of TListChartSource.Add
git-svn-id: trunk@28776 -
2010-12-20 06:54:44 +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
486fd0201f TAChart: Correctly update list source extent upon SetXValue/SetYValue calls
git-svn-id: trunk@28547 -
2010-11-28 18:50:41 +00:00
ask
88afd5541d TAChart: Fix TListChartSource.DataPoints to accept item text with spaces. Update tests.
git-svn-id: trunk@28363 -
2010-11-20 08:29:48 +00:00
ask
c123012ed5 TAChart: Normalize decimal separators inside of TListChartSource.DataPoints property
git-svn-id: trunk@27732 -
2010-10-17 07:11:19 +00:00
ask
d8afe5e250 TAChart: Fix lower bound calculation for unsorted chart sources
git-svn-id: trunk@27728 -
2010-10-17 06:43:53 +00:00
ask
a8b64bb621 TAChart: Add multi-valued db-aware source. Update demo.
git-svn-id: trunk@27263 -
2010-09-04 10:11:15 +00:00
ask
6cbf336c1b TAChart: Add AccumulationMethod and AccumulationRange properties to TCalculatedChartSource
git-svn-id: trunk@27230 -
2010-08-29 13:51:01 +00:00
ask
c21a6da457 TAChart: Add TCalculatedChartSource.ReorderYList property
git-svn-id: trunk@27155 -
2010-08-20 09:54:07 +00:00
ask
54ee41a476 TAChart: Fix percentage calculation
git-svn-id: trunk@27146 -
2010-08-19 10:43:02 +00:00
ask
e060bcd1aa TAChart: Initial implementation of TCalculatedChartSource
git-svn-id: trunk@27143 -
2010-08-19 09:37:02 +00:00
ask
277dda4e82 TAChart: Support TUserDefinedChartSource.YCount
git-svn-id: trunk@27138 -
2010-08-18 12:55:28 +00:00
ask
61cf75f456 TAChart: Move YCount implementation to TCustomChartSource
git-svn-id: trunk@27137 -
2010-08-18 12:51:13 +00:00
ask
592cd0f85b TAChart: Implement stacked area series
git-svn-id: trunk@27135 -
2010-08-18 11:59:30 +00:00
ask
e44c18a3d3 TAChart: Implement stacked line series
git-svn-id: trunk@27132 -
2010-08-18 06:32:55 +00:00
ask
fe4ac38bf4 TAChart: Extract TCustomChartSource.ExtentList function
git-svn-id: trunk@27131 -
2010-08-18 06:18:11 +00:00
ask
0fbee9a723 TAChart: Add TListChartSource.SetYList procedure
git-svn-id: trunk@27119 -
2010-08-17 10:01:41 +00:00
ask
9d03b45223 TAChart: Add multi-valued random chart source. Fix reading multi-valued TListChartSource from DataPoints.
git-svn-id: trunk@27049 -
2010-08-10 16:07:08 +00:00
ask
234944e350 TAChart: Initial multi-valued sources support
git-svn-id: trunk@27034 -
2010-08-08 13:58:35 +00:00
ask
518cb42e0e TAChart: Add TDateTimeIntervalChartSource component
git-svn-id: trunk@26949 -
2010-08-01 03:12:12 +00:00
ask
0e1bfb75c2 TAChart: Add TChartAxisMarks.AtDataOnly property
git-svn-id: trunk@26930 -
2010-07-31 13:35:24 +00:00
ask
f2451b97a9 TAChart: Set default value for ChartSource.Sorted property
git-svn-id: trunk@26899 -
2010-07-29 10:20:30 +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
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
4dbdf21241 TAChart: Fix a typo leading to excessive bounds culling in unordered series.
* Reported by Andrea Mauri

git-svn-id: trunk@26041 -
2010-06-11 13:10:56 +00:00
ask
68caa0b7e3 TAChart: Transmit sender in broadcast notifications
git-svn-id: trunk@25940 -
2010-06-06 05:58:56 +00:00
ask
aa496b24ff TAChart: Do not re-sort data copied from already sorted source
git-svn-id: trunk@25928 -
2010-06-05 17:03:31 +00:00
ask
3bd2cdda8e TAChart: Allow TUserDefinedChartSource to declare itself sorted.
git-svn-id: trunk@25927 -
2010-06-05 17:02:07 +00:00
ask
e8d4380072 TAChart: Use binary search to speed up extent detection for sorted series
+ Fix a typo in TCustomChartSeries.AxisToGraph

git-svn-id: trunk@25923 -
2010-06-05 16:04:50 +00:00
ask
160c2dc205 TAChart: Pre-filter points outside of the current extent in TLineSeries.Draw
git-svn-id: trunk@25921 -
2010-06-05 15:06:46 +00:00
ask
1e84a4ad0a TAChart: Add TCustomChartSource.IsSorted function
git-svn-id: trunk@25920 -
2010-06-05 14:34:02 +00:00
ask
cf2296e624 TAChart: Add TListChartSource.Sorted property
git-svn-id: trunk@25912 -
2010-06-05 12:59:00 +00:00
paul
5451a2e4a3 tachart: fix range check errors
git-svn-id: trunk@24811 -
2010-04-22 02:43:25 +00:00
ask
dfc1161da4 TAChart: Rename TCustomChartSource.ValuesInInterval to ValuesInRange
git-svn-id: trunk@24645 -
2010-04-16 06:02:26 +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
ad2406418f TAChart: Diagnose incorrect mark format values at assignment
git-svn-id: trunk@24575 -
2010-04-11 09:38:34 +00:00
ask
3eeaff3825 TAChart: Add TIntervalChartSource class. Use it as the default source for axis marks.
git-svn-id: trunk@24574 -
2010-04-11 09:19:33 +00:00
ask
7f95e20e9c TAChart: Extract TCustomChartSource.ValuesInInterval procedure
git-svn-id: trunk@24570 -
2010-04-11 08:41:41 +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
85eb77d20d TAChart: Move TCustomChartSeries.DefaultFormattedMark to TCustomChartSource.FormatItem
git-svn-id: trunk@24141 -
2010-03-21 13:42:52 +00:00
ask
8d2df44a70 TAChart: Fix setting of point labels via TListChartSource.DataPoints
git-svn-id: trunk@24136 -
2010-03-21 11:26:56 +00:00
ask
bbd5e80654 TAChart: Fix off-by-one bug in TCustomChartSource.Unsubscribe
git-svn-id: trunk@24082 -
2010-03-18 13:42:28 +00:00