Commit Graph

233 Commits

Author SHA1 Message Date
ask
b8a7060466 TAChart: Update demo
git-svn-id: trunk@21908 -
2009-09-28 15:45:59 +00:00
ask
4abec83a51 TAChart: Add TPieSeries.Exploded property
git-svn-id: trunk@21907 -
2009-09-28 15:45:34 +00:00
ask
dc0f603493 TAChart: Move source-related getters and setters from TLineSeries to TChartSeries.
Sort the rest of TLineSeries methods alphabetically.

git-svn-id: trunk@21903 -
2009-09-28 13:13:10 +00:00
ask
a38a0fce73 TAChart: Extract TypicalTextHeight function
git-svn-id: trunk@21902 -
2009-09-28 12:36:13 +00:00
ask
c3acc13054 TAChart: Replace TChartSeries.GetCoords procedure with GetGraphPoint function
git-svn-id: trunk@21901 -
2009-09-27 16:07:43 +00:00
ask
33343e7d67 TAChart: Minor cleanups:
Move ShowInLegend initialization into TCustomChartSeries.
  Add empty override for TUserDrawnSeries.GetLegendItems.

git-svn-id: trunk@21900 -
2009-09-27 15:24:39 +00:00
ask
73ae5dc715 TAChart: Inherit TLine from TCustomChartSeries instead of TBasicPointSeries
git-svn-id: trunk@21899 -
2009-09-27 15:07:24 +00:00
ask
3547bfb1bb TAChart: Fix AV when drawing chart without legend
git-svn-id: trunk@21898 -
2009-09-27 15:06:37 +00:00
ask
1ca42bb562 TAChart: Update extent demo project
git-svn-id: trunk@21897 -
2009-09-27 15:05:40 +00:00
ask
28f332082e TAChart: Clean up legend demo project
git-svn-id: trunk@21896 -
2009-09-27 15:05:15 +00:00
ask
1db40b0788 TAChart: Add legend demo
git-svn-id: trunk@21895 -
2009-09-27 14:39:36 +00:00
ask
1fb4ba388f TAChart: Add TChartLegend.UseSidebar property
git-svn-id: trunk@21894 -
2009-09-27 14:36:38 +00:00
ask
66ad4ed453 TAChart: Implement TChartLegend.Alignment property
git-svn-id: trunk@21893 -
2009-09-27 14:10:24 +00:00
ask
b3570afa1e TAChart: Trivial hint fixes
git-svn-id: trunk@21892 -
2009-09-27 11:28:36 +00:00
ask
49a19e71af TAChart: Add TChartLegend.BackgroundBrush property
git-svn-id: trunk@21891 -
2009-09-27 11:14:56 +00:00
ask
83a241e7ea TAChart: Add Margin and SymbolWidth properties to TChartLegend
git-svn-id: trunk@21890 -
2009-09-27 11:08:24 +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
93c6ee37a6 TAChart: Fix brush settings in pie series drawing
git-svn-id: trunk@21888 -
2009-09-27 08:13:42 +00:00
ask
4101d61d99 TAChart: Refactor legend drawing
git-svn-id: trunk@21887 -
2009-09-27 07:02:03 +00:00
ask
5861a1b4dd TAChart: Add TChartLegend.Spacing property instead of hard-coded constant
git-svn-id: trunk@21867 -
2009-09-25 15:27:07 +00:00
ask
574f3fa348 TAChart: Extract TChartLegend into a separate unit
git-svn-id: trunk@21865 -
2009-09-25 15:19:47 +00:00
ask
7355a841d9 TAChart: Update demo projects
git-svn-id: trunk@21864 -
2009-09-25 14:58:49 +00:00
ask
dedd0e04fd TAChart: Add TLineSeries.LineType property.
ShowLines property is now deprecated and retained for backwards compatibility only.
Based on patch by Andrea Mauri

git-svn-id: trunk@21852 -
2009-09-25 01:05:23 +00:00
ask
0cf1c8c60c TAChart: Add ZeroDoublePoint constant
git-svn-id: trunk@21851 -
2009-09-25 01:01:13 +00:00
ask
6525519754 TAChart: Fix growing of zoomed-in extent upon each chart repainting
git-svn-id: trunk@21841 -
2009-09-23 20:31:16 +00:00
ask
54485700c3 TAChart: Add TChartMarks.Clipped property. Update demo.
git-svn-id: trunk@21840 -
2009-09-23 17:10:51 +00:00
ask
da2c5cb914 TAChart: Update funcdemo
* Add user-drawn series demo
* Remove workarounds for object inspector bugs with subproperty events

git-svn-id: trunk@21827 -
2009-09-22 16:58:37 +00:00
ask
e14b665868 TAChart: Add TUserDrawnSeries class
git-svn-id: trunk@21826 -
2009-09-22 16:56:09 +00:00
ask
c826d70f2d TAChart: Inherit TFuncSeries from TCustomChartSeries to reduce code duplication
git-svn-id: trunk@21825 -
2009-09-22 16:36:02 +00:00
ask
d1f35dc29f TAChart: Extract TCustomChartSeries class
git-svn-id: trunk@21824 -
2009-09-22 16:35:01 +00:00
ask
9b39c1957b TAChart: Publish TAChart.BorderSpacing property
git-svn-id: trunk@21822 -
2009-09-22 15:50:00 +00:00
ask
4209ed3b45 TAChart: Extract TChartSeries class into a new TACustomSeries unit
git-svn-id: trunk@21817 -
2009-09-22 12:53:30 +00:00
ask
010d61cf7c TAChart: Add TChartAxis.OnMarkToText event (see issue #14567)
git-svn-id: trunk@21807 -
2009-09-21 18:08:59 +00:00
ask
e6c2ca7274 TAChart: Update drag-and-drop demo to display point marks on mouse-over
git-svn-id: trunk@21806 -
2009-09-21 16:23:21 +00:00
ask
e1f5717199 TAChart: Add TChartSeries.OnGetMark event
git-svn-id: trunk@21805 -
2009-09-21 16:21:15 +00:00
vincents
86638f7ba8 tachart: fixed compilation with fpc 2.5.1
git-svn-id: trunk@21318 -
2009-08-19 14:53:47 +00:00
ask
6a8abe6f0f TAChart: Add Scale and Offset properties to TChartAxis.
git-svn-id: trunk@20654 -
2009-06-17 17:21:33 +00:00
ask
9e23233c46 TAChart: Remove TChart.LineInViewPort, since it is no longer used
git-svn-id: trunk@20652 -
2009-06-17 15:02:10 +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
1acb779801 TAChart: Remove TChart.AxisColor -- superceeded by Axis.TickColor.
git-svn-id: trunk@20401 -
2009-06-04 11:33:34 +00:00
ask
95e83492e7 TAChart: Add Axis.TickLength and Axis.TickColor properties. Really use Axis.Title.Font.
git-svn-id: trunk@20400 -
2009-06-04 11:32:51 +00:00
ask
49c5c9dbeb TAChart: Use Font.Orientation instead of Angle for axis titles
git-svn-id: trunk@20352 -
2009-06-02 14:01:37 +00:00
ask
03fb819137 TAChart: Draw grid with dotted lines by default
git-svn-id: trunk@20351 -
2009-06-02 13:46:45 +00:00
ask
a5d26d6883 TAChart: Meaningful axis captions in AxisList editor
git-svn-id: trunk@20350 -
2009-06-02 13:41:29 +00:00