Commit Graph

79 Commits

Author SHA1 Message Date
ask
d2306d0e8a TAChart: Scale label distances for printing. Update print demo.
git-svn-id: trunk@29705 -
2011-03-02 09:47:04 +00:00
ask
e2d662475a TAChart: Scale label margins for printing
git-svn-id: trunk@29683 -
2011-02-27 09:45:14 +00:00
ask
39d6ab4f66 TAChart: Initial implementation of TPrinterDrawer
git-svn-id: trunk@29682 -
2011-02-27 09:32:49 +00:00
ask
94f2a8371c TAChart: Use IChartDrawer to draw TSeriesPointer
git-svn-id: trunk@29634 -
2011-02-21 16:08:52 +00:00
ask
829ea72a9d TAChart: Use IChartDrawer to draw labels
git-svn-id: trunk@29531 -
2011-02-13 17:28:51 +00:00
ask
a4fb8cc245 TAChart: Use IChartDrawer to draw chart title and footer
git-svn-id: trunk@29528 -
2011-02-13 15:49:51 +00:00
ask
7cb245a54e TAChart: Update chart in both design-time and run-time after the change of Title.Text
git-svn-id: trunk@29373 -
2011-02-04 08:24:31 +00:00
ask
545b9ba037 TAChart: Allow assignment of TLineSeries
git-svn-id: trunk@29315 -
2011-02-02 06:51:17 +00:00
ask
76a02bd738 TAChart: Support chart title and footer rotation, part 2
git-svn-id: trunk@29311 -
2011-02-02 05:55:19 +00:00
ask
e122e92fcf TAChart: Extract RotateRect utility function
git-svn-id: trunk@29309 -
2011-02-02 05:33:37 +00:00
ask
1f99cf0ccf TAChart: Support multi-line mark labels
git-svn-id: trunk@29183 -
2011-01-24 08:51:05 +00:00
ask
ad6b453cb2 TAChart: Extract TACustomSource unit
git-svn-id: trunk@28787 -
2010-12-20 09:44:42 +00:00
ask
677bf459b2 TAChart: Add TChartTitle.Margin property. Update demo.
git-svn-id: trunk@28775 -
2010-12-20 05:30:51 +00:00
ask
a7114a3c18 TAChart: Replace Marks.DistanceToCenter with more generic Marks.Attachment property
git-svn-id: trunk@28696 -
2010-12-12 12:06:17 +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
6501a28e5a TAChart: Rewrite pie series measuring/drawing code.
* Measure series extent exactly
* Draw labels after slices
* This partially fixes issue #17988

git-svn-id: trunk@28692 -
2010-12-12 08:56:49 +00:00
ask
4812c06946 TAChart: Extract TGenericChartMarks.GetLabelPolygon function
git-svn-id: trunk@28690 -
2010-12-12 04:41:09 +00:00
paul
ec782c1a72 tachart: fix compilation with recent fpc generics change
git-svn-id: trunk@28501 -
2010-11-26 14:45:05 +00:00
ask
53f0743f12 TAChart: Auto-update TChartLegendPanel
git-svn-id: trunk@27783 -
2010-10-21 09:05:34 +00:00
ask
8ccce6a274 TAChart: Remove TChartExtent.Extent property
since extent bounds may be misleading without corresponding UseXX values

git-svn-id: trunk@27730 -
2010-10-17 06:49:17 +00:00
ask
3d801aa92c TAChart: Support per-point coloring of line series
git-svn-id: trunk@27566 -
2010-10-04 10:20:29 +00:00
ask
d589d25f96 TAChart: Fix chart invalidation after changing subcomponents' properties
git-svn-id: trunk@27563 -
2010-10-04 09:22:47 +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
f4763dd494 TAChart: Limit pointer size in the legend. Update demo.
git-svn-id: trunk@27462 -
2010-09-26 02:58:39 +00:00
ask
82ce805c08 TAChart: Add Marks.DistanceToCenter property
git-svn-id: trunk@27077 -
2010-08-12 15:49:56 +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
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
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
d6ff361112 TAChart: Reduce CodeObserver warnings
git-svn-id: trunk@25031 -
2010-04-28 12:45:15 +00:00
ask
2255790333 TAChart: Extract TGenericChartMarks.IsLabelHiddenDueToOverlap function
git-svn-id: trunk@25030 -
2010-04-28 12:43:41 +00:00
ask
863906e974 TAChart: Add Marks.OverlapPolicy property
git-svn-id: trunk@25017 -
2010-04-27 20:40:47 +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
6c59933fe5 TAChart: Use Marks.Distance as a distance between axis labels and ticks
+ Disallow negative distances

git-svn-id: trunk@24149 -
2010-03-21 17:15:51 +00:00
ask
e1f162aa58 TAChart: Unify formatting of auto-generated and Source-generated marks.
git-svn-id: trunk@24147 -
2010-03-21 15:08:41 +00:00
ask
0828c0b864 TAChart: Do not create margins around marks which have neither background nor frame
git-svn-id: trunk@24134 -
2010-03-21 10:56:12 +00:00
ask
a1a644a5c5 TAChart: Extract TGenericChartMarks as basic marks class.
* Inherit TChartMarks and TChartAxisMarks with different defaults in sub-properties

git-svn-id: trunk@24133 -
2010-03-21 09:44:58 +00:00
ask
3b9c3db55c TAChart: Make margins only for actually existing labels.
git-svn-id: trunk@24125 -
2010-03-21 02:55:24 +00:00
ask
d474f1e6a3 TAChart: Extract TChartMarks.MeasureLabel function.
+ Take label font into account while measuring mark labels.

git-svn-id: trunk@24110 -
2010-03-20 11:47:31 +00:00
ask
388cebcf91 TAChart: Extract TAChartAxis unit
git-svn-id: trunk@23216 -
2009-12-21 11:34:40 +00:00
ask
fdd7359743 TAChart: Hide 'unused parameter' hint
git-svn-id: trunk@22695 -
2009-11-20 11:47:52 +00:00
ask
91daeebbea TAChart: Simplify InitHelper interface
git-svn-id: trunk@22694 -
2009-11-20 11:47:12 +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
2d9766a528 TAChart: Update chart on AreaBrush and AreaLinePen changes.
* Remove unneeded AreaPen.Visible property
* Whitespace fixes

git-svn-id: trunk@22009 -
2009-10-03 22:37:46 +00:00
ask
66ad4ed453 TAChart: Implement TChartLegend.Alignment property
git-svn-id: trunk@21893 -
2009-09-27 14:10:24 +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
54485700c3 TAChart: Add TChartMarks.Clipped property. Update demo.
git-svn-id: trunk@21840 -
2009-09-23 17:10:51 +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
vincents
86638f7ba8 tachart: fixed compilation with fpc 2.5.1
git-svn-id: trunk@21318 -
2009-08-19 14:53:47 +00:00