Commit Graph

459 Commits

Author SHA1 Message Date
ask
091bbe149c TAChart: Initial code for using drawing-time storage in axis transformations.
+ Add calls to inherited to BeforeDraw/AfterDraw procedures.

git-svn-id: trunk@26925 -
2010-07-31 07:03:32 +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
b0843134cc TAChart: Minor demo updates
git-svn-id: trunk@26920 -
2010-07-31 03:33:45 +00:00
ask
ee241b4662 TAChart: Update project files for demo projects
git-svn-id: trunk@26919 -
2010-07-31 03:32:19 +00:00
ask
292ccf8960 TAChart: Fix examples compilation by removing obsolete {$R projectname.rc} directive.
Patch by Tomasz Wieckowski, issue #17054

git-svn-id: trunk@26918 -
2010-07-31 02:21:36 +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
1cad1a2a99 TAChart: Add basic tests for TListChartSource
git-svn-id: trunk@26784 -
2010-07-22 16:02:58 +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
f06551fd50 TAChart: Update labels demo
git-svn-id: trunk@26777 -
2010-07-22 10:46:41 +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
9d66578778 TAChart: Add label positioning demo
git-svn-id: trunk@26772 -
2010-07-22 06:43:05 +00:00
ask
d5a2df6249 TAChart: Correctly support arbitrary label orientation.
As a bonus:
* Fix axis ticks disappearing when the corresponding label is hidden.
* Support Marks.OverlapPolicy in pie series.

git-svn-id: trunk@26771 -
2010-07-22 06:40:43 +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
1b0b91f3d3 TAChart: Test LineIntersectsRect function
git-svn-id: trunk@26681 -
2010-07-16 09:52:50 +00:00
ask
c4940acd19 TAChart: Add copyright headers.
git-svn-id: trunk@26678 -
2010-07-16 08:29:11 +00:00
ask
c0047f6d24 TAChart: Add initial unit-testing infrastructure. Test TIntervalList class.
git-svn-id: trunk@26677 -
2010-07-16 08:18:01 +00:00
ask
1e37069221 TAChart: Fix interval merging
git-svn-id: trunk@26676 -
2010-07-16 08:15:53 +00:00
paul
f3b5dbe139 components: return correct file case for packages units
git-svn-id: trunk@26649 -
2010-07-14 15:52:03 +00:00
maxim
724c4cb9aa components: commit automatic package file changes
git-svn-id: trunk@26634 -
2010-07-14 00:39:03 +00:00
mattias
b23492619f codetools: completeblock: check if unindented line starts new block
git-svn-id: trunk@26617 -
2010-07-13 10:06:40 +00:00
mattias
692e26ec87 updated makefiles
git-svn-id: trunk@26426 -
2010-07-02 20:29:37 +00:00
maxim
61c2805db6 tachart: updated makefile
git-svn-id: trunk@26412 -
2010-07-02 00:10:56 +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
3fb76f8c86 TAChart: Fix SIGFPE after changing scale to logarithmic on zoomed-in chart
git-svn-id: trunk@25941 -
2010-06-06 06:02:04 +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
72131e1b79 TAChart: Add tools for more realistic performance testing
git-svn-id: trunk@25925 -
2010-06-05 16:12:41 +00:00
ask
252e281d13 TAChart: Fix bounds search for rotated line series
git-svn-id: trunk@25924 -
2010-06-05 16:11:30 +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
d6b37e7cb4 TAChart: Use EnsureOrder and NormalizeRect throughout the code
git-svn-id: trunk@25919 -
2010-06-05 14:22:22 +00:00
ask
89e0f1b9ba TAChart: Do not draw line series if it lies totally outside of the current extent
git-svn-id: trunk@25918 -
2010-06-05 14:16:57 +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
d940f2e95a TAChart: Update dragdrop demo to show Sorted property
git-svn-id: trunk@25913 -
2010-06-05 12:59:52 +00:00
ask
cf2296e624 TAChart: Add TListChartSource.Sorted property
git-svn-id: trunk@25912 -
2010-06-05 12:59:00 +00:00
ask
a895e51adb TAChart: Fix range check on drawing empty line series
git-svn-id: trunk@25910 -
2010-06-05 12:28:15 +00:00
ask
11f8057bd2 TAChart: Add simple benchmarking to linedemo.
git-svn-id: trunk@25896 -
2010-06-04 15:54:08 +00:00
ask
64b60ee04b TAChart: Optimize TLineSeries.Draw
git-svn-id: trunk@25893 -
2010-06-04 15:47:57 +00:00
ask
3efb8f9a7f TAChart: Add multiple series to line demo for performance testing
git-svn-id: trunk@25892 -
2010-06-04 10:51:17 +00:00
ask
ceced0f482 TAChart: Invalidate chart after adding series
git-svn-id: trunk@25891 -
2010-06-04 10:49:56 +00:00
ask
275ec2350d TAChart: Add line series demo
git-svn-id: trunk@25890 -
2010-06-04 09:58:26 +00:00
ask
7ac59b9d1b TAChart: Implement stepped line series. Based on patch by Rick Richard
git-svn-id: trunk@25889 -
2010-06-04 09:54:59 +00:00
ask
4fb616acac TAChart: Fix TLineSeries to use axis transformations for origin point.
+ Optimize drawing slightly.

git-svn-id: trunk@25888 -
2010-06-04 09:23:20 +00:00
ask
ccbc4bbb33 TAChart: Add DoublePoint utility function
git-svn-id: trunk@25887 -
2010-06-04 09:20:22 +00:00