Commit Graph

115 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
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
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
86af12370d TAChart: Fix AV after TChart.ClearSeries call (issue #15173)
git-svn-id: trunk@22757 -
2009-11-25 08:32:15 +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
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
4441420b80 TAChart: Fix reticule to work with multiple series simultaneously
git-svn-id: trunk@22012 -
2009-10-03 23:24:25 +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
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
3547bfb1bb TAChart: Fix AV when drawing chart without legend
git-svn-id: trunk@21898 -
2009-09-27 15:06:37 +00:00
ask
1fb4ba388f TAChart: Add TChartLegend.UseSidebar property
git-svn-id: trunk@21894 -
2009-09-27 14:36:38 +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
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
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
9b39c1957b TAChart: Publish TAChart.BorderSpacing property
git-svn-id: trunk@21822 -
2009-09-22 15:50:00 +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
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