Commit Graph

432 Commits

Author SHA1 Message Date
ask
1e56a54ecc TAChart: Do not invalidate chart on mouseclick if zooming was not changed
git-svn-id: trunk@23468 -
2010-01-15 13:23:27 +00:00
ask
575df9f023 TAChart: convert series editor to FPC resources
git-svn-id: trunk@23456 -
2010-01-14 14:53:02 +00:00
ask
f1c5099f6c TAChart: convert save demo to FPC resources
git-svn-id: trunk@23455 -
2010-01-14 14:41:34 +00:00
ask
4aa14448a7 TAChart: convert legend demo to FPC resources
git-svn-id: trunk@23454 -
2010-01-14 14:39:35 +00:00
ask
b664f7c2c6 TAChart: convert function demo to FPC resources
git-svn-id: trunk@23453 -
2010-01-14 14:36:59 +00:00
ask
19f9e6906a TAChart: convert extent demo to FPC resources
git-svn-id: trunk@23452 -
2010-01-14 14:34:22 +00:00
ask
f9c15769b6 TAChart: convert dragdrop demo to FPC resources
git-svn-id: trunk@23451 -
2010-01-14 14:26:49 +00:00
ask
fed4d3200c TAChart: convert db demo to FPC resources
git-svn-id: trunk@23450 -
2010-01-14 14:23:13 +00:00
ask
4cb0c3e53a TAChart: convert chart sources demo to FPC resources
git-svn-id: trunk@23449 -
2010-01-14 14:20:16 +00:00
ask
fc3a9430bd TAChart: convert axis demo to FPC resources
Add logarithmic axis to the demo

git-svn-id: trunk@23448 -
2010-01-14 14:17:34 +00:00
ask
99706575d2 TAChart: convert 3D demo to FPC resources
git-svn-id: trunk@23447 -
2010-01-14 14:13:50 +00:00
ask
0743b17b00 TAChart: convert basic demo to FPC resources
git-svn-id: trunk@23446 -
2010-01-14 14:09:26 +00:00
ask
9fe259944b TAChart: Update savedemo to test label clipping
git-svn-id: trunk@23434 -
2010-01-13 08:28:53 +00:00
ask
071f0984dc TAChart: Clip labels correctly when saving chart to a bitmap.
Reported by Andrea Mauri

git-svn-id: trunk@23433 -
2010-01-13 08:26:13 +00:00
ask
96170987f3 TAChart: Remove Offset and Scale properties from Axis,
since they are superceded by Transformation.

git-svn-id: trunk@23241 -
2009-12-23 15:04:08 +00:00
ask
4f2de1c04c TAChart: Let user add points to ListSource without keeping X-order
git-svn-id: trunk@23240 -
2009-12-23 14:28:23 +00:00
paul
0c71ee3723 tachart: fix memory leak
git-svn-id: trunk@23227 -
2009-12-22 06:27:42 +00:00
ask
53892fe909 TAChart: Add axis transformations and ability to bind series to axises.
This implements most of the issue #13832, although the interface
is very crude yet.

git-svn-id: trunk@23217 -
2009-12-21 16:23:56 +00:00
ask
388cebcf91 TAChart: Extract TAChartAxis unit
git-svn-id: trunk@23216 -
2009-12-21 11:34:40 +00:00
ask
6c94ef0bf7 TAChart: Add AxisToGraph and GraphToAxis functions.
They are just identities yet.

git-svn-id: trunk@23214 -
2009-12-21 11:20:46 +00:00
ask
e63e1febd5 TAChart: Convert Series.UpdateBounds methods to Series.GetBounds.
The logic for updating centralized in Graph.UpdateExtent procedure.

git-svn-id: trunk@23211 -
2009-12-21 09:26:28 +00:00
ask
28506dad55 TAChart: Extract GetGraphPointX function
git-svn-id: trunk@23207 -
2009-12-20 16:46:14 +00:00
ask
4094aa57d0 TAChart: Add TChart.ClearSeries call to the demo application
git-svn-id: trunk@22758 -
2009-11-25 08:33:30 +00:00
ask
86af12370d TAChart: Fix AV after TChart.ClearSeries call (issue #15173)
git-svn-id: trunk@22757 -
2009-11-25 08:32:15 +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
42d44be9aa TAChart: Fix Footer text position. See issue #15029.
git-svn-id: trunk@22639 -
2009-11-17 09:35:58 +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
9839fb3763 TAChart: Add axis demo
git-svn-id: trunk@22418 -
2009-11-04 00:14:46 +00:00
ask
85a6d9eae3 TAChart: Use overloaded operator= instead of LCLProc.CompareMethods
git-svn-id: trunk@22376 -
2009-11-02 01:11:56 +00:00
ask
39dd7c35bd TAChart: Update funcdemo to demonstrate domain exclusions
git-svn-id: trunk@22375 -
2009-11-02 01:01:42 +00:00
ask
6f487b17a3 TAChart: Add TFuncSeries.DomainExclusions property
git-svn-id: trunk@22374 -
2009-11-02 00:57:16 +00:00
ask
989229c520 TAChart: Add TIntervalList class
git-svn-id: trunk@22373 -
2009-11-02 00:53:32 +00:00
mattias
c7114afbc4 tachart: fixed utf-8 encoding
git-svn-id: trunk@22167 -
2009-10-14 08:59:14 +00:00
mattias
0b7468f33e tachart: fixed method setters
git-svn-id: trunk@22166 -
2009-10-14 08:58:44 +00:00
ask
4f525db58b TAChart: Fix memory leaks
git-svn-id: trunk@22145 -
2009-10-13 14:23:36 +00:00
ask
76769b2c6b TAChart: Start documenting TACustomSeries unit.
git-svn-id: trunk@22143 -
2009-10-13 14:20:05 +00:00
ask
07eff61bbc TAChart: Remove unused units. Sort series methods alphabetically.
git-svn-id: trunk@22090 -
2009-10-09 16:44:26 +00:00
ask
6cbc0b7456 TAChart: Remove SeriesColor property from TBasicChartSeries.
Implement it only for those descendants where it makes sense.

git-svn-id: trunk@22089 -
2009-10-09 15:32:29 +00:00
ask
9d3143eed4 TAChart: Remove unused GetNewColor and GetRectangle helpers.
git-svn-id: trunk@22088 -
2009-10-09 15:20:13 +00:00
ask
90089bdbaa TAChart: Document TALegend unit
git-svn-id: trunk@22087 -
2009-10-09 15:14:15 +00:00
ask
44914f7bce TAChart: Exclude auxiliary methods from the documentation
git-svn-id: trunk@22085 -
2009-10-09 13:14:56 +00:00
ask
d11ae66a06 TAChart: Document TAGraph unit.
git-svn-id: trunk@22084 -
2009-10-09 12:52:56 +00:00
ask
35d3ebf0e8 TAChart: Add empty documentation files for all units
git-svn-id: trunk@22083 -
2009-10-09 12:09:53 +00:00
ask
1a5db75d52 TAChart: Set LazDoc path in the package
git-svn-id: trunk@22082 -
2009-10-09 11:31:05 +00:00
ask
8c0ffa4900 TAChart: Create initial documentation. Document most TChart properties.
git-svn-id: trunk@22081 -
2009-10-09 11:27:52 +00:00
ask
4441420b80 TAChart: Fix reticule to work with multiple series simultaneously
git-svn-id: trunk@22012 -
2009-10-03 23:24:25 +00:00
ask
63b043a6c4 TAChart: Allow to use reticule for area and bar series.
* Move TLineSeries.GetNearestPoint implementation to TBasicPointSeries class
* Add UseReticule property, default it to true for line series
* Update demo

git-svn-id: trunk@22011 -
2009-10-03 23:12:38 +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
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
ask
8933c18a9f TAChart: Draw multiple axises with arbitrary alignments
* Move axis drawing to TChartAxis, break it into smaller procedures

git-svn-id: trunk@20347 -
2009-06-02 12:53:49 +00:00
ask
66278c69d1 TChart: Publish AxisList. Do not store LeftAxis and BottomAxis separately.
* A step to adding support for multiple axises
* Update demo

git-svn-id: trunk@20316 -
2009-05-30 16:41:01 +00:00
ask
56029b3100 TChart: Fix axis title centering (issue #13832)
git-svn-id: trunk@20313 -
2009-05-30 15:36:00 +00:00
ask
b991035ee7 TChart: Introduce TChartAxisAlignment and TChartAxisList
* First step for adding support for multiple axises
* Does not yet change any user-visible behaviour

git-svn-id: trunk@20312 -
2009-05-30 15:17:35 +00:00
ask
e2b7a80b5e TAChart: Remove MirrorX property. Add ClearSeries procedure.
* Independent changes extracted from patch by Andrei Kupreitchik (issue #13832)

git-svn-id: trunk@20230 -
2009-05-26 10:18:45 +00:00
ask
bef2d937fd TAChart: Re-add BackColor property (issue #13831)
* Patch by Andrei Kupreitchik
* Update a demo

git-svn-id: trunk@20225 -
2009-05-26 07:23:46 +00:00
ask
f3dd9d641d TAChart: Add Margins instead of built-in fixed margin (issue #13830)
* Based on patch by Andrei Kupreitchik
* Used Margins in a demo

git-svn-id: trunk@20224 -
2009-05-26 07:07:54 +00:00
ask
9a999ed80e TAChart: Add TLineSeries.LinePen property. Update demo.
git-svn-id: trunk@20222 -
2009-05-26 03:10:27 +00:00
ask
e80e98c3cc TAChart: Sort class members
git-svn-id: trunk@20221 -
2009-05-26 02:59:54 +00:00
ask
7ee8494e64 TAChart: Set default values correctly in db-aware chart source
git-svn-id: trunk@20220 -
2009-05-26 02:54:49 +00:00
ask
62cc5113b7 TAChart: Add support for chart source caching
* Add TListChartSource.CopyForm procedure
* Make TChart.ListSource public
* Update demo

git-svn-id: trunk@20219 -
2009-05-26 02:49:08 +00:00
ask
2ba755f1ef TAChart: Add a demo for db-aware chart
git-svn-id: trunk@20218 -
2009-05-26 02:40:24 +00:00
ask
dedefbbe48 TAChart: Add icon for TDbChartSource
git-svn-id: trunk@20217 -
2009-05-26 02:38:27 +00:00
ask
421cb0e7aa TAChart: Correctly refresh db-aware chart after dataset changes.
* Add BeforeDraw/AfterDraw procedures to series and sources
* Preserve dataset cursor position while drawing db-aware Series
* Update chart after deleting a record

git-svn-id: trunk@20216 -
2009-05-26 02:21:39 +00:00
ask
ed14f938e7 TAChart: Add db-aware chart source.
git-svn-id: trunk@20215 -
2009-05-26 01:53:46 +00:00
ask
2f572b341b TAChart: Add license header to TASources unit.
git-svn-id: trunk@20201 -
2009-05-25 11:59:32 +00:00
ask
326dadbb51 TAChart: Use TUserDefinedChartSource in function demo
git-svn-id: trunk@20173 -
2009-05-24 13:12:43 +00:00
ask
ea1dd89ad9 TAChart: Add TUserDefinedChartSource.
git-svn-id: trunk@20171 -
2009-05-24 13:11:01 +00:00
ask
104cd2a598 TAChart: Add icons for chart sources
git-svn-id: trunk@20170 -
2009-05-24 12:38:06 +00:00
ask
2f19160d24 TAChart: Use random source in demos.
git-svn-id: trunk@20159 -
2009-05-24 07:18:18 +00:00
ask
28d862e408 TAChart: Do not crash after removing a referenced chart source.
git-svn-id: trunk@20158 -
2009-05-24 07:17:39 +00:00
ask
39ae87f65f TAChart: Minor cleanups and fixes
git-svn-id: trunk@20157 -
2009-05-24 06:47:06 +00:00
ask
1245e6e6ed TAChart: Default color for list source data points should be clTAColor, not 0.
git-svn-id: trunk@20156 -
2009-05-24 06:35:53 +00:00
ask
029339a761 TAChart: Add demo for chart sources.
git-svn-id: trunk@20155 -
2009-05-24 06:34:22 +00:00
ask
c17a63df84 TAChart: Notify series about chart source changes.
* Add minimal Model-View style infrastructure
* Properly support many series with same source

git-svn-id: trunk@20154 -
2009-05-24 06:19:54 +00:00
ask
932b2a5392 TAChart: Improve color handling for individual data points.
git-svn-id: trunk@20153 -
2009-05-24 02:35:11 +00:00
ask
0697177d28 TAChart: Add random series source.
* Move Extent and ValuesTotal logic to TCustomChartSource
* Add TMWCRandomGenerator class
* Add TRandomChartSource class

git-svn-id: trunk@20152 -
2009-05-24 01:40:52 +00:00
ask
e93779cdaa TAChart: Move clTAColor to TAChartUtils. Fix error message.
git-svn-id: trunk@20151 -
2009-05-24 01:38:30 +00:00
ask
1421f1836b TAChart: Fix bugs in processing of empty extents.
git-svn-id: trunk@20137 -
2009-05-23 04:13:01 +00:00
ask
d8bc38d03f TAChart: Improve Extent processing for series.
* Move Extent calculation and caching to TListChartSource class.
* Replace TChartSeries.{X/Y}Graph{Min/Max} by Extent property.
* Various fixes related to extent cache coherence.

git-svn-id: trunk@20136 -
2009-05-23 04:01:13 +00:00
ask
5210783530 TAChart: Make TListChartSource a component.
* Move TChart and TListChartSource to a separate component page
* Initial crude implementation of design-time data point editing

git-svn-id: trunk@20135 -
2009-05-22 23:36:57 +00:00
ask
c6677a7a40 TAChart: Add mouse events demo
git-svn-id: trunk@20118 -
2009-05-22 05:34:25 +00:00
ask
1b34be4add TAChart: Simplify and fix TLineSeries.Set{X/Y}Value
git-svn-id: trunk@20117 -
2009-05-22 05:29:02 +00:00
ask
3857c71b89 TAChart: Call OnMouse{Down,Move,Up} events. Minor refactoring.
git-svn-id: trunk@20116 -
2009-05-22 05:12:46 +00:00
ask
8a09a8257c TAChart: Move ValuesTotal logic from TChartSeries to TListChartSource
git-svn-id: trunk@20114 -
2009-05-22 03:52:53 +00:00
ask
b7c121c677 TAChart: Extract former CoordList into TCustomChartSource class in TASource unit.
git-svn-id: trunk@20112 -
2009-05-22 01:46:43 +00:00
ask
3f07c0e517 TAChart: Update lfm files for demo projects.
git-svn-id: trunk@20111 -
2009-05-22 01:44:25 +00:00
ask
69156f088b TAChart: Set correct brushes for TLine and TAreaSeries.
git-svn-id: trunk@20097 -
2009-05-21 08:51:31 +00:00
ask
148f7ce9be TAChart: Fix for r20095 #453a046de9.
git-svn-id: trunk@20096 -
2009-05-21 08:42:25 +00:00
ask
453a046de9 TAChart: If Chart.Extent.Use{X/Y}{Min/Max} is set, use corresponding boundary unconditionally.
Previously it was not used if some series expanded beyond it.
This fixes issue #13681.

git-svn-id: trunk@20095 -
2009-05-21 08:37:16 +00:00
ask
a0897c76f4 TAChart: Add chart extent demo.
In particular, it is useful to test issue #13681.

git-svn-id: trunk@20091 -
2009-05-21 07:55:56 +00:00
ask
ff15f8408c TAChart: Add TLine.UseBounds property. Minor refactoring.
git-svn-id: trunk@20090 -
2009-05-21 07:48:50 +00:00
ask
f0b1c740fd TAChart: Change default for TChartPen.Visible to true
git-svn-id: trunk@20089 -
2009-05-21 07:26:24 +00:00
ask
d18b9a4254 TAChart: UpdateMinMax should update both min and max if necessary.
git-svn-id: trunk@20088 -
2009-05-21 07:16:09 +00:00
ask
2ca478248b TAChart: Fix TLine bounds. Part of issue #13681
git-svn-id: trunk@19923 -
2009-05-11 09:04:23 +00:00
ask
5f1f1c8897 TAChart: Extract UpdateMinMax procedure.
git-svn-id: trunk@19922 -
2009-05-11 08:54:27 +00:00
ask
b4331da20a TAChart: Fix saving to bitmap (issue #13685)
* Add SaveToImage and SaveToFile methods.
* Implement SaveToBitmapFile and CopyToClipboardBitmap via SaveToImage/SaveToFile.
* Add demo.

git-svn-id: trunk@19918 -
2009-05-11 06:46:08 +00:00
ask
677971a20c TAChart: Invalidate chart after resizing on GTK2. This is a workaround for issue #0013649.
git-svn-id: trunk@19808 -
2009-05-05 02:09:38 +00:00
mattias
c8a5dd18a3 UTF-8
git-svn-id: trunk@19804 -
2009-05-04 18:15:33 +00:00
ask
00afa75d6d TAChart: Do not use icons for demo programs.
git-svn-id: trunk@19803 -
2009-05-04 17:35:59 +00:00
ask
c9bf967a8d TAChart: Implement 3D look for line series. Update demo.
git-svn-id: trunk@19755 -
2009-05-02 02:34:36 +00:00
ask
0c542758ec TAChart: Move all demos into a common subdirectory
git-svn-id: trunk@19754 -
2009-05-02 02:11:33 +00:00
ask
6ea70eb67d TAChart: Update demo project file
git-svn-id: trunk@19753 -
2009-05-02 01:58:33 +00:00
ask
5417718761 TAChart: Use Font.Orientation (available since r19734 #9c170f9a4f) instead of own RotateLabel procedure
git-svn-id: trunk@19747 -
2009-05-01 17:58:53 +00:00
ask
c4221ad3ac TAChart: Fix SIGFPE on very small charts.
git-svn-id: trunk@19706 -
2009-04-30 09:03:17 +00:00
ask
c6c23a10cf TAChart: Remove workaround for resolved issue #13418
git-svn-id: trunk@19703 -
2009-04-30 07:35:14 +00:00
ask
7277e0b12c TAChart: 3D look for bar series.
* Add Series.Depth property
* Publish and impement it in TBarSeries
* Update demo

git-svn-id: trunk@19628 -
2009-04-26 07:11:58 +00:00
ask
4f29817505 TAChart: Do not store zero extent bounds.
git-svn-id: trunk@19627 -
2009-04-26 06:27:11 +00:00
ask
0c273e0445 TAChart: Initial implementation of 3D look. Add demo.
git-svn-id: trunk@19612 -
2009-04-24 14:41:28 +00:00
ask
4b83c209c8 TAChart: Add TBarSeries.AdjustBarWidth property.
git-svn-id: trunk@19611 -
2009-04-24 14:36:16 +00:00
ask
563f244d92 TAChart: Invert ZOrder.
git-svn-id: trunk@19610 -
2009-04-24 14:09:33 +00:00
ask
3db771a856 TAChart: Starting 3-D look implementation.
* Introduce TChartZPosition type.
* Add Depth property.
* Fix ZPosition for function series.

git-svn-id: trunk@19609 -
2009-04-24 14:04:12 +00:00
ask
622ce0f331 TAChart: Fix calculation of right boundary while drawing function series.
git-svn-id: trunk@19608 -
2009-04-24 12:21:52 +00:00
ask
4ebf36a67c TACHart: Replace hard-coded 'Tolerance' value with ExpandPercentage property. Update demo.
git-svn-id: trunk@19607 -
2009-04-24 12:20:58 +00:00
ask
6941ef0833 TAChart: More extent improvements.
* Use FCurrentExtent instead of F{X/Y}Graph{Min/Max}.
* Carefully check for various combinations of Chart.Extent and series bounds.

git-svn-id: trunk@19606 -
2009-04-24 11:45:32 +00:00
ask
a258bd419f TAChart: Check that Chart.Extent buonds are ordered corectly.
git-svn-id: trunk@19604 -
2009-04-24 11:35:33 +00:00
ask
56cc734a27 TAChart: Add DoubleRect utility function, EChartError base exception class.
git-svn-id: trunk@19603 -
2009-04-24 11:32:33 +00:00
ask
a480ed52ae TAChart: Sort and group TChart members. Publish AxisColor property.
git-svn-id: trunk@19599 -
2009-04-24 08:39:47 +00:00
ask
23f9d1f9c4 TAChart: Improve extent processing.
* Replace {X/Y}Graph{Max/Min} and AutoUpdate{X/Y}{Max/Min} properties with Extent class.
 * Use +/-Infinity instead of custom MinDouble/MaxDouble constants
 * Simplify UpdateExtent procedure

git-svn-id: trunk@19597 -
2009-04-24 07:24:04 +00:00
ask
f0d5fdc244 TAChart: More default values for properties.
git-svn-id: trunk@19596 -
2009-04-24 06:35:41 +00:00
ask
1f8f8a9909 TAChart: Convert [X/Y]ImageToGraph to functions
git-svn-id: trunk@19543 -
2009-04-21 08:39:29 +00:00
ask
64c6432237 TAChart: Convert {X/Y}GraphToImage to functions
git-svn-id: trunk@19542 -
2009-04-21 08:27:50 +00:00
ask
45d428b6e3 TAChart: Add Series.ZPosition property
git-svn-id: trunk@19541 -
2009-04-21 08:15:21 +00:00
ask
2117d39cf8 TAChart: add default values to published properties, minor cleanups.
git-svn-id: trunk@19540 -
2009-04-21 05:49:44 +00:00
ask
1184f95530 TAChart: Silence 'parameter is unused' hint. Fix unitialized variable.
git-svn-id: trunk@19324 -
2009-04-10 21:25:57 +00:00
ask
51f0ad8fc8 TAChart: Introduce TFuncSeries.Step to control drawing granularity.
git-svn-id: trunk@19298 -
2009-04-10 09:33:06 +00:00
ask
5c796207d7 TAChart: Rename Auto{X/Y}{Max/Min} to Use{X/Y}{Max/Min} and make it work.
git-svn-id: trunk@19297 -
2009-04-10 08:42:18 +00:00
vincents
906426f562 tachart: updated makefile after version change in r18773 #75edc78f04
git-svn-id: trunk@19259 -
2009-04-06 20:20:19 +00:00
ask
129b0cefb5 TAChart: Remove TChartSeries.InitBounds method. Various cleanups.
git-svn-id: trunk@19190 -
2009-04-01 20:01:33 +00:00
ask
6902bc22e9 TAChart: Rewrite calculation of title, axis and chart positions.
* Replace (X/Y)Image(Min/Max) variables with a single ClipRect property
* Simplify code by calculating positions directly before drawing chart elements
* Fix various minor bugs and inconsistencies, like the one in issue #13433
* Move DrawAxis, DrawTitleFoot and Refresh methods to protected,
  since they are useless directly
* Add DrawLineHoriz and DrawLineVert helpers

git-svn-id: trunk@19189 -
2009-04-01 19:03:20 +00:00
ask
0d997f9838 TAChart: Really fixed compilation on FPC 2.3.1
git-svn-id: trunk@19172 -
2009-03-31 13:28:16 +00:00
ask
c516f8def5 TAChart: add simple demo application for function series
git-svn-id: trunk@19171 -
2009-03-31 08:51:39 +00:00
ask
a95dcafbfb TAChart: Fixed compilation on FPC 2.3.1
git-svn-id: trunk@19170 -
2009-03-31 07:48:56 +00:00
ask
53478c37f8 TAChart: Initial implementation of function series
git-svn-id: trunk@19169 -
2009-03-31 06:48:48 +00:00
ask
834c9f9146 TAChart: Move ShowInLegend property into TBasicChartSeries class.
Rearrange some declarations alphabetically.

git-svn-id: trunk@19166 -
2009-03-31 05:31:25 +00:00
ask
9d35d8873d TAChart: Add few more pointer styles. Fix warning.
git-svn-id: trunk@19163 -
2009-03-31 03:43:52 +00:00
ask
9cb4b8e525 TAChart: Refactor series pointer drawing.
Respect Brush and Pen color of SeriesPointer.
  Allow "empty" circles and rectangles as a pointers.

git-svn-id: trunk@19162 -
2009-03-31 03:38:28 +00:00
ask
fea9d0eef9 TAChart: Simplified variant of TSeries.AddXY
git-svn-id: trunk@19137 -
2009-03-27 23:06:04 +00:00
ask
ce8f80bc53 TAChart: Move Active property to TBasicChartSeries class
git-svn-id: trunk@19090 -
2009-03-24 11:19:03 +00:00
ask
fc32749416 TAChart: Renamed TSerie -> TLineSeries because latter is both more logical and Delphi-compatible.
Old name retained as an alias for backwards compatibility.

git-svn-id: trunk@19059 -
2009-03-22 10:17:43 +00:00
ask
073e79c380 TAChart: Improve reticules.
- unify and simplify reticule drawing
  - allow vertical, horizontal or cross reticules
  - update demo

git-svn-id: trunk@19025 -
2009-03-18 16:24:07 +00:00
ask
c3693ef736 TAChart: Use operator= instead of EqualPoints function.
git-svn-id: trunk@19024 -
2009-03-18 11:57:52 +00:00
ask
c6c378afb6 TAChart: Introduce OnDrawPointer event for line series
git-svn-id: trunk@19022 -
2009-03-18 10:26:01 +00:00
ask
e349453a72 TAChart: refactor TSeriesPointer.Draw
git-svn-id: trunk@18981 -
2009-03-13 12:51:17 +00:00
ask
ff8f6f5edd TAChart: Moved TSeriesPointer class to TATypes unit and inherited it from TChartElement.
git-svn-id: trunk@18980 -
2009-03-13 11:49:02 +00:00
ask
ba49804ad6 TAChart: Extracted ColorOrDefault function
git-svn-id: trunk@18975 -
2009-03-13 04:28:36 +00:00
ask
49c1f81e65 TAChart: Extracted TBasicPointSeries.DrawLabels method
git-svn-id: trunk@18893 -
2009-03-04 12:58:01 +00:00
ask
3667b3ea5e TAChart: Refactoring: use points instead of separate x and y coordinates
git-svn-id: trunk@18890 -
2009-03-04 08:35:59 +00:00
ask
76e2cc9985 TAChart: Labels drawing for line and area series.
git-svn-id: trunk@18886 -
2009-03-03 19:16:49 +00:00
ask
1653ff764a TAChart: extract InitHelper method
git-svn-id: trunk@18885 -
2009-03-03 18:39:37 +00:00
ask
a99d32c9be TAChart: Add Frame, LabelBrush, LabelFont, LinkPen properties to TChartMarks, use them for drawing. Update demo.
git-svn-id: trunk@18884 -
2009-03-03 18:28:44 +00:00