Commit Graph

92 Commits

Author SHA1 Message Date
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
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
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
1acb779801 TAChart: Remove TChart.AxisColor -- superceeded by Axis.TickColor.
git-svn-id: trunk@20401 -
2009-06-04 11:33:34 +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
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
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
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
3857c71b89 TAChart: Call OnMouse{Down,Move,Up} events. Minor refactoring.
git-svn-id: trunk@20116 -
2009-05-22 05:12:46 +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
f0b1c740fd TAChart: Change default for TChartPen.Visible to true
git-svn-id: trunk@20089 -
2009-05-21 07:26:24 +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
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
0c273e0445 TAChart: Initial implementation of 3D look. Add demo.
git-svn-id: trunk@19612 -
2009-04-24 14:41:28 +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
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
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
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
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
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
ce8f80bc53 TAChart: Move Active property to TBasicChartSeries class
git-svn-id: trunk@19090 -
2009-03-24 11:19:03 +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