Commit Graph

108 Commits

Author SHA1 Message Date
wp_xyz
40f705da45 TAChart: Implement multi-level data-point labels. Update barshapes_demo. 2024-01-26 13:03:49 +01:00
wp_xyz
3e1aa29c2b TAChart: Set length of FYRange and FYRangeValid for all chart source types 2023-12-08 01:23:28 +01:00
wp_xyz
ebd45b7c62 TAChart: Fix crash in stacked bar series due to dd3322cfc0 2023-12-03 23:17:21 +01:00
wp_xyz
dd3322cfc0 TAChart: Extend TCustomSource with method to determine the y value ranges (separately for each y level). 2023-11-30 23:59:03 +01:00
wp_xyz
e8f8aa16ce TAChart: Fix crash when a ListChartSource contains a single point and that has X=NaN. Add corresponding unit test. 2023-05-06 13:03:59 +02:00
wp_xyz
06c1648f61 TAChart: Fix unit test error due to incomplete TChartDataItem.CopyFrom 2023-05-06 12:58:35 +02:00
wp_xyz
dddd7c85cd TAChart: Fix TListChartSource.CopyFrom not copying additional x and y values. 2023-02-11 18:02:05 +01:00
wp_xyz
9ac4a95870 TAChart: Add aipInteger as new TAxisIntervalParamOption to force axis labels only in integer steps. 2022-11-06 18:28:57 +01:00
wp_xyz
2d381f05b1 TAChart: Fix legend issue #39313 2021-08-07 22:46:13 +02:00
wp_xyz
7c644ae7b3 TAChart: Less hints and warnings 2021-08-05 10:34:48 +02:00
maxim
163edb07b5 TAChart: fixed typos related to 'occur' word
git-svn-id: trunk@65202 -
2021-06-10 22:14:17 +00:00
wp
519788b865 TAChart: Fix compilation due to recent changes in FPC 3.3.1. Issue #38301.
git-svn-id: trunk@64324 -
2021-01-03 17:25:04 +00:00
wp
9798763888 TAChart: Register TChartLiveView. Add new property "ExtentY".
git-svn-id: trunk@63760 -
2020-08-16 16:20:58 +00:00
wp
efbbeb241f TAChart: Add missing check for NaN to TCustomChartSource.XOfMax and .XOfMin (https://forum.lazarus.freepascal.org/index.php/topic,49848.0.html).
git-svn-id: trunk@63180 -
2020-05-18 09:36:40 +00:00
wp
0d2a56d82b TAChart: Provide a mechanism which automatically detects when a ListChartSource is sorted. Slightly modified patch by Marcin Wiazowski, issue #35681.
git-svn-id: trunk@61404 -
2019-06-17 14:38:02 +00:00
wp
96442a5bea TAChart: Fix issue in recently added TCustomSortedChartSource.ItemFind(). Issue #35666, patch by Marcin Wiazowski.
git-svn-id: trunk@61313 -
2019-06-03 21:49:43 +00:00
wp
bd29c5ea1e TAChart: Minor speed-up of source sorting. Issue #35630, patch by Marcin Wiazowski
git-svn-id: trunk@61305 -
2019-05-31 11:34:43 +00:00
wp
aa69a266b0 TAChart: Don't check class types twice (issue #35614).
git-svn-id: trunk@61263 -
2019-05-21 22:26:14 +00:00
wp
3992921b51 TAChart: Optimized floating point compare routine for sorting. Issue #35356, patch by Marcin Wiazowski
git-svn-id: trunk@61252 -
2019-05-20 21:03:24 +00:00
wp
adc9225cec TAChart: New TSortedChartSource. Issue #35356, patch by Marcin Wiazowski.
git-svn-id: trunk@61251 -
2019-05-20 20:54:41 +00:00
wp
0fce68a18e TAChart: Rework of sorting by TCustomChartSource and TListChartSource. Issue #35356, patch by Marcin Wiazowski
git-svn-id: trunk@61248 -
2019-05-20 17:32:47 +00:00
wp
1740585023 TAChart: Make sure that TCustomChartSource.IsSorted is true only when the source really is sorted. Issue #35356, patch by Marcin Wiazowski.
git-svn-id: trunk@61211 -
2019-05-12 20:21:17 +00:00
wp
868bbcd076 TAChart: Micro-optimization by declaring (some) parameters as "const". Issue #35356, modified patch by Marcin Wiazowski.
git-svn-id: trunk@61190 -
2019-05-09 12:42:23 +00:00
wp
68f8ce110e TAChart: Move TCustomSortedChartSource to TACustomSource units. Issue #35356, modified patch by Marcin Wiazowski.
git-svn-id: trunk@61189 -
2019-05-09 12:22:17 +00:00
wp
fda91e1ea3 TAChart: Calculate TCustomChartSource.BasicExtent based on sorting parameters only when the source really is sorted.
git-svn-id: trunk@61082 -
2019-04-29 16:46:17 +00:00
wp
6c66672e31 TAChart: Fix access to cached ChartListSource extents while the source is being updated. Issue #35463, patch by Marcin Wiazowski.
git-svn-id: trunk@61080 -
2019-04-29 16:34:46 +00:00
wp
81f4762dba TAChart: Fix TCustomChartSource.FindBounds for XCount = 0. Add test cases.
git-svn-id: trunk@61016 -
2019-04-18 13:49:58 +00:00
wp
72317a44ee TAChart: TOpenHighLowCloseSeries and TBoxAndWhiskerSeries accept XCount=0. Some missing fixes in the basic source classes for XCount=0.
git-svn-id: trunk@61004 -
2019-04-17 21:37:21 +00:00
wp
abdb6abcaf TAChart: Fix axis labels for sorting a chart source with XCount = 0. Minor changes in sort_demo.
git-svn-id: trunk@60999 -
2019-04-16 21:41:46 +00:00
wp
f6fc50d43c TAChart: Simplify calculation of TCustomChartSource.BasicExtent when XCount = 0.
git-svn-id: trunk@60998 -
2019-04-16 17:57:01 +00:00
wp
ac880dd4b9 TAChart: Allow XCount=0 for TChartSource meaning "replace X by point index". Still some issues.
git-svn-id: trunk@60995 -
2019-04-16 14:16:58 +00:00
wp
d9bccc11be TAChart: Optimzed extent calculation when chart source is sorted. Issue #35389, patch by Marcin Wiazowski.
git-svn-id: trunk@60991 -
2019-04-16 07:36:48 +00:00
wp
c17a8a1444 TAChart: Remove incorrect inline directives introduced by r60972 #6908af06b3.
git-svn-id: trunk@60983 -
2019-04-15 16:32:26 +00:00
wp
6908af06b3 TAChart: Refactoring of chart sources for sorting. TListChartSource now can be sorted by X, Y, Text, etc. Issue #35356, modified patch by Marcin Wiazowski.
git-svn-id: trunk@60972 -
2019-04-14 20:52:38 +00:00
wp
db88431d08 TAChart: Optimization of chart sources between BeginUpdate/EndUpdate. Issue #35333, patch by Marcin Wiazowski.
git-svn-id: trunk@60868 -
2019-04-07 17:59:28 +00:00
wp
87794fe7a2 TAChart: Fix invalidation of extent caches. Issue #35313, forgotten part from patch by Marcin Wiazowski.
git-svn-id: trunk@60848 -
2019-04-05 22:24:07 +00:00
wp
056f96d7b5 TAChart: Caching of cumulative and x/y list extents of chart sources. Issue #35313, part of patch by Marcin Wiazowski.
git-svn-id: trunk@60846 -
2019-04-05 12:13:04 +00:00
wp
31b4c73132 TAChart: Fix incomplete resetting of TChartDataItem record for TUserDefinedChartSource in SetDataItemDefaults. Issue #35313, part of patch by Marcin Wiazowski.
git-svn-id: trunk@60843 -
2019-04-05 10:22:59 +00:00
wp
e7f8525318 TAChart: Rename internal TCustomChartSource variables FExtent and FExtentIsValid to FBasicExtent and FBasicExtentIsValid. Issue #35313, part of patch by Marcin Wiazowski.
git-svn-id: trunk@60842 -
2019-04-05 09:57:55 +00:00
wp
de87beb2b1 TAChart: Cosmetic changes in TCustomChartSource.ExtentCumulative. Part of patch by Marcin Wiazowski for issue #35302.
git-svn-id: trunk@60813 -
2019-04-01 11:31:10 +00:00
wp
32526da603 TAChart: Fix index limit error in TCustomChartSource.GetErrorBarValues. Part of patch by Marcin Wiazowski for issue #35302.
git-svn-id: trunk@60812 -
2019-04-01 11:25:05 +00:00
wp
36db373002 TAChart: Cosmetic changes (camel-cased "ErrorBar"), some clean-up.
git-svn-id: trunk@60811 -
2019-04-01 11:20:39 +00:00
wp
dbab842894 TAChart: TCustomChartSource.ExtentList uses only multiple y and ignores multiple x values (which are included in .ExtentXYList).
git-svn-id: trunk@60523 -
2019-02-27 00:03:48 +00:00
wp
fd88788ac2 TAChart: Fix TListChartSource's extent calculation when XCount or YCount are zero. Issue #35125, patch by Marcin Wiazowski.
git-svn-id: trunk@60515 -
2019-02-26 17:26:00 +00:00
wp
ae615c82e7 TAChart: Check TListChartSource.DataPoints for valid numeric data. Fix DataPoints editor to handle NaN correctly.
git-svn-id: trunk@60495 -
2019-02-25 11:17:39 +00:00
wp
cd2e076da1 TAChart: Fix TListChartSource.DataPoints streaming error. Issue #0035125, patch by Marcin Wiazowski. Update test program.
git-svn-id: trunk@60490 -
2019-02-24 21:27:39 +00:00
wp
8dbfa92933 TAChart: More general code for ErrorBarData in TListChartSource.
git-svn-id: trunk@60458 -
2019-02-18 23:36:17 +00:00
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
ee7e0fd3ed TAChart: Fix extent of TCubicSplineSeries and TFitSeries to use only the first y value.
git-svn-id: trunk@60433 -
2019-02-15 21:22:53 +00:00