ask
32c7dba3c0
TAChart: Extract TAFuncSeries unit
...
git-svn-id: trunk@27724 -
2010-10-17 02:15:13 +00:00
ask
d4fd6075e6
TACHart: Increase series length in line demo, reformat comment
...
git-svn-id: trunk@27574 -
2010-10-04 12:41:03 +00:00
ask
e7ce0b0dac
TAChart: Add TBarSeries.BarOffsetPercent property
...
git-svn-id: trunk@27570 -
2010-10-04 11:40:34 +00:00
ask
ba23bd2982
TAChart: Draw pie slices in the legend
...
git-svn-id: trunk@27568 -
2010-10-04 10:46:25 +00:00
ask
c95aa6b2f3
TAChart: Draw per-point legend items with the color from the chart source
...
git-svn-id: trunk@27567 -
2010-10-04 10:32:34 +00:00
ask
213a8b5ef1
TAChart: Implement legend multiplicity for most series
...
git-svn-id: trunk@27565 -
2010-10-04 10:13:28 +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
91aa289f6e
TAChart: Group Legend-related properties into TChartSeriesLegend class. Update demo.
...
git-svn-id: trunk@27559 -
2010-10-04 09:10:55 +00:00
ask
84bb112a07
TAChart: Initial support for legend multiplicity
...
git-svn-id: trunk@27557 -
2010-10-04 08:21:46 +00:00
ask
09b0ea83ae
TAChart: Add OnDrawLegend event to chart series
...
git-svn-id: trunk@27555 -
2010-10-04 07:28:23 +00:00
ask
ec692bc033
TAChart: Show pointers in line series legend
...
git-svn-id: trunk@27461 -
2010-09-26 02:43:12 +00:00
ask
0006342434
TAChart: Use styles for drawing stacked series
...
git-svn-id: trunk@27271 -
2010-09-05 06:46:46 +00:00
ask
592cd0f85b
TAChart: Implement stacked area series
...
git-svn-id: trunk@27135 -
2010-08-18 11:59:30 +00:00
ask
8592caeac1
TAChart: Do not store redundant SeriesColor property
...
git-svn-id: trunk@27133 -
2010-08-18 06:39:59 +00:00
ask
e44c18a3d3
TAChart: Implement stacked line series
...
git-svn-id: trunk@27132 -
2010-08-18 06:32:55 +00:00
ask
823ef24846
TAChart: Extract TLineSeries.DrawSingleLineInStack procedure
...
git-svn-id: trunk@27130 -
2010-08-18 02:49:17 +00:00
ask
db61d236a5
TAChart: Extract TBasicPointSeries.GetXRange function
...
git-svn-id: trunk@27117 -
2010-08-17 09:52:01 +00:00
ask
dc77b7c0f3
TAChart: Extract TAMultiSeries unit.
...
git-svn-id: trunk@27114 -
2010-08-17 07:47:09 +00:00
ask
c14dd0005f
TAChart: Initial support for stacked bar series. Update demo.
...
git-svn-id: trunk@27083 -
2010-08-12 16:42:02 +00:00
ask
8ecb367ba8
TAChart: Draw labels for bubble series
...
git-svn-id: trunk@27078 -
2010-08-12 15:50:16 +00:00
ask
8046cb27a3
TAChart: Fix effective extent for bubble series
...
git-svn-id: trunk@27072 -
2010-08-12 12:25:52 +00:00
ask
0d8fe57965
TAChart: Initial implementation of TBubbleSeries
...
git-svn-id: trunk@27052 -
2010-08-10 17:01:00 +00:00
ask
72165d1d22
TAChart: Move TBasicPointSeries class to TACustomSeries unit
...
git-svn-id: trunk@27032 -
2010-08-08 11:09:22 +00:00
ask
edd774a031
TAChart: Add TBarSeries.ZeroLevel property
...
git-svn-id: trunk@27031 -
2010-08-08 06:37:15 +00:00
ask
2cbeb8a186
TAChart: Use PrepareGraphPoints in TBarSeries.Draw
...
git-svn-id: trunk@27030 -
2010-08-08 06:31:13 +00:00
ask
8a93b3076e
TAChart: Replace TAreaSeries.Stairs and InvertedStairs with ConnectType property.
...
+ Correctly display rotated stairs series.
git-svn-id: trunk@27026 -
2010-08-07 18:04:08 +00:00
ask
4850673e1d
TAChart: Support 3-d look for area series. Various fixes for zero level code. Update demo.
...
git-svn-id: trunk@27025 -
2010-08-07 17:22:46 +00:00
ask
3d00e0005f
TAChart: Add ZeroLevel and UseZeroLevel properties to TAreaSeries, Update demo.
...
git-svn-id: trunk@27024 -
2010-08-07 16:57:18 +00:00
ask
76b6278554
TAChart: Improve area series drawing.
...
+ Refactor drawing code
+ Add TAreaSeries.AreaContourPen
+ Support rotated series
git-svn-id: trunk@27022 -
2010-08-07 16:48:53 +00:00
ask
6688cc9ce2
TAChart: Extract TBasicPointSeries.PrepareGraphPoints method
...
git-svn-id: trunk@27020 -
2010-08-07 14:36:11 +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
be405ec70a
TAChart: Extract TADrawUtils unit
...
git-svn-id: trunk@26686 -
2010-07-16 14:12:55 +00:00
ask
252e281d13
TAChart: Fix bounds search for rotated line series
...
git-svn-id: trunk@25924 -
2010-06-05 16:11:30 +00:00
ask
160c2dc205
TAChart: Pre-filter points outside of the current extent in TLineSeries.Draw
...
git-svn-id: trunk@25921 -
2010-06-05 15:06:46 +00:00
ask
89e0f1b9ba
TAChart: Do not draw line series if it lies totally outside of the current extent
...
git-svn-id: trunk@25918 -
2010-06-05 14:16:57 +00:00
ask
cf2296e624
TAChart: Add TListChartSource.Sorted property
...
git-svn-id: trunk@25912 -
2010-06-05 12:59:00 +00:00
ask
a895e51adb
TAChart: Fix range check on drawing empty line series
...
git-svn-id: trunk@25910 -
2010-06-05 12:28:15 +00:00
ask
64b60ee04b
TAChart: Optimize TLineSeries.Draw
...
git-svn-id: trunk@25893 -
2010-06-04 15:47:57 +00:00
ask
7ac59b9d1b
TAChart: Implement stepped line series. Based on patch by Rick Richard
...
git-svn-id: trunk@25889 -
2010-06-04 09:54:59 +00:00
ask
4fb616acac
TAChart: Fix TLineSeries to use axis transformations for origin point.
...
+ Optimize drawing slightly.
git-svn-id: trunk@25888 -
2010-06-04 09:23:20 +00:00
ask
1133b58566
TAChart: Silence 'unused parameter' hint
...
git-svn-id: trunk@25886 -
2010-06-04 08:59:44 +00:00
ask
3a48646fa2
TAChart: Fix TBarSeries to use axis transformations for zero line. Update demo.
...
git-svn-id: trunk@25885 -
2010-06-04 08:55:08 +00:00
ask
5fb8c6c91b
TAChart: Add TBasicChartSeries.MovePoint procedure.
...
+ Implement MovePoint and GetNearestPoint for TConstantLine series
git-svn-id: trunk@25760 -
2010-05-30 08:12:53 +00:00
ask
78eb50a8d5
TAChart: Extract PrepareSimplePen utility procedure
...
git-svn-id: trunk@25062 -
2010-04-29 06:19:37 +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
f19e3d4ca3
TAChart: Rename TLine to TConstantLine to avoid confusion with TLineSeries
...
git-svn-id: trunk@24646 -
2010-04-16 06:03:41 +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
7c1b4322f4
TAChart: Publish and take into account TFuncSeries.AxisIndexY property
...
git-svn-id: trunk@24511 -
2010-04-08 13:52:32 +00:00
ask
653230ad6b
TAChart: Change GetBounds and GetGraphBounds parameters from out to var
...
* They may be set only partially.
* Add comment explaining that
git-svn-id: trunk@24506 -
2010-04-08 12:57:22 +00:00
ask
bce837f856
TAChart: Extract BoundsSize utility function
...
git-svn-id: trunk@24329 -
2010-04-01 03:38:02 +00:00
ask
5b4de80bc0
TAChart: Fix warning
...
git-svn-id: trunk@24299 -
2010-03-30 13:36:26 +00:00
ask
6b4119e9ac
TAChart: Move TBasicPointSeries.DrawLabel procedure inside DrawLabels
...
git-svn-id: trunk@24129 -
2010-03-21 04:47:59 +00:00
ask
eceabf9db6
TAChart: Display mark labels for rotated series correctly.
...
This finishes issue #16051 .
git-svn-id: trunk@24127 -
2010-03-21 04:28:00 +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
2f2f282448
TAChart: Extract TBasicPointSeries.GetLabelDirection function
...
git-svn-id: trunk@24111 -
2010-03-20 13:10:37 +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
3ec9c78ab6
TAChart: Draw rotated bar series
...
git-svn-id: trunk@24083 -
2010-03-18 14:08:01 +00:00
ask
03d99c380e
TAChart: Fix unordered methods.
...
git-svn-id: trunk@24081 -
2010-03-18 13:26:08 +00:00
ask
036bbd7fb2
TAChart: Use DrawLabels procedure instead of duplicate code in TBarSeries.Draw
...
git-svn-id: trunk@24078 -
2010-03-18 11:11:57 +00:00
ask
883b9df3e0
TAChart: Minor refactoring
...
git-svn-id: trunk@23469 -
2010-01-15 13:32:35 +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
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
0bc78d689a
TAChart: Convert some literals to named constants
...
git-svn-id: trunk@22420 -
2009-11-04 01:26:14 +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
6f487b17a3
TAChart: Add TFuncSeries.DomainExclusions property
...
git-svn-id: trunk@22374 -
2009-11-02 00:57:16 +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
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
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
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
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
b3570afa1e
TAChart: Trivial hint fixes
...
git-svn-id: trunk@21892 -
2009-09-27 11:28:36 +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
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
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
4209ed3b45
TAChart: Extract TChartSeries class into a new TACustomSeries unit
...
git-svn-id: trunk@21817 -
2009-09-22 12:53:30 +00:00
ask
e1f5717199
TAChart: Add TChartSeries.OnGetMark event
...
git-svn-id: trunk@21805 -
2009-09-21 16:21:15 +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
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
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
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
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
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
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
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
1b34be4add
TAChart: Simplify and fix TLineSeries.Set{X/Y}Value
...
git-svn-id: trunk@20117 -
2009-05-22 05:29:02 +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
69156f088b
TAChart: Set correct brushes for TLine and TAreaSeries.
...
git-svn-id: trunk@20097 -
2009-05-21 08:51:31 +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
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
c9bf967a8d
TAChart: Implement 3D look for line series. Update demo.
...
git-svn-id: trunk@19755 -
2009-05-02 02:34:36 +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
4b83c209c8
TAChart: Add TBarSeries.AdjustBarWidth property.
...
git-svn-id: trunk@19611 -
2009-04-24 14:36:16 +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
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
56cc734a27
TAChart: Add DoubleRect utility function, EChartError base exception class.
...
git-svn-id: trunk@19603 -
2009-04-24 11:32:33 +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
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
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
9d35d8873d
TAChart: Add few more pointer styles. Fix warning.
...
git-svn-id: trunk@19163 -
2009-03-31 03:43:52 +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
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
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
ask
ddda8edc89
TAChart: add TChartMarks.Distance property.
...
git-svn-id: trunk@18883 -
2009-03-03 16:42:27 +00:00
ask
6e5def3ad7
TAChart: Group series mark parameters into TChartMarks class. Update demo.
...
git-svn-id: trunk@18882 -
2009-03-03 16:32:50 +00:00
ask
bc49d5bfb4
TAChart: extracted auxiliary chart elements into a TATypes unit. Fixed style.
...
git-svn-id: trunk@18880 -
2009-03-03 15:42:24 +00:00
ask
17114c5ab7
TAChart: use margins in bar series. Default scale for bar series now adujsts to display labels.
...
git-svn-id: trunk@18872 -
2009-03-02 15:23:13 +00:00
ask
0aa059ecff
TAChart: display labels on bar series. Initial crude implementation.
...
git-svn-id: trunk@18859 -
2009-03-01 12:04:40 +00:00
ask
7385883003
TAChart: refactor bar series drawing
...
git-svn-id: trunk@18851 -
2009-03-01 09:04:48 +00:00
ask
a3580b1459
TAChart: Make marks optional. Allow custom marks formatting.
...
git-svn-id: trunk@18795 -
2009-02-22 16:06:23 +00:00
ask
4bd8cdc586
TAChart: implement all MarksStyle values for TPieSeries.
...
Add mark style selection to the demo application.
git-svn-id: trunk@18794 -
2009-02-22 15:10:53 +00:00
ask
61219c304d
TAChart: Renamed ChartCoord -> TChartCoord
...
git-svn-id: trunk@18792 -
2009-02-22 14:41:55 +00:00
paul
f8e23f2d0d
tachart: correct asterisks positions
...
git-svn-id: trunk@18780 -
2009-02-20 15:34:27 +00:00
ask
facc55f1a3
TAChart: Add Alexander Klenin to authors
...
issue #13214 part 6
git-svn-id: trunk@18778 -
2009-02-20 14:30:06 +00:00
ask
604c32679f
TAChart: Refactor TLine series. Add static TLine series to the demo
...
issue #13214 part 5
git-svn-id: trunk@18777 -
2009-02-20 14:28:08 +00:00
ask
f6a27a57d4
TAChart: clean up, fix and expand published properties, since they are now useful
...
issue #13214 part 4
git-svn-id: trunk@18776 -
2009-02-20 14:25:24 +00:00
ask
ee315fb844
TAChart series editor: adding, deleting and selection of series
...
issue #13214 part 3
git-svn-id: trunk@18775 -
2009-02-20 14:22:48 +00:00
ask
7ab4967ab9
TAChart: Prepare series code for design-time editing. Publish Series property.
...
issue #13214 part 2
git-svn-id: trunk@18774 -
2009-02-20 14:19:05 +00:00
vincents
a945bd4085
TAChart: Remove {$MODE DELPHI} and {$IFDEF fpc}
...
patch by: Alexander Klenin
part 3 of issue #13201
git-svn-id: trunk@18748 -
2009-02-18 12:20:30 +00:00
vincents
161a59bc94
TAChart: Make TChart.Series an indexed property of proper type
...
patch by: Alexander Klenin
part 1 of issue #13201
git-svn-id: trunk@18746 -
2009-02-18 12:14:45 +00:00
vincents
4f120b8014
TAChart: Replace some hard-coded colors by user-changeable properties.
...
patch by: Alexander Klenin
part 2 of issue #13196
git-svn-id: trunk@18730 -
2009-02-17 13:12:59 +00:00
vincents
c42b11a253
TAChart: Rewrite PieSeries.Draw method. Greatly simplify code. Fix multiple issues with scaling.
...
patch by: Alexander Klenin
part 1 of issue #13196
git-svn-id: trunk@18729 -
2009-02-17 13:07:11 +00:00
vincents
06cd260566
TAChart: fix SeriesColor to work uniformly for all kinds of series
...
patch by: Alexander Klenin
fixes issue #13184
git-svn-id: trunk@18709 -
2009-02-16 15:43:42 +00:00
vincents
648cca752a
TAChart: Extract StyleChanged into parent class
...
patch by: Alexander Klenin
part 4 of issue #13163
git-svn-id: trunk@18673 -
2009-02-13 20:56:05 +00:00
vincents
0d8393edf7
TAChart: Refactor Reticules. Remove circular dependency TAGraph -> TASeries
...
patch by: Alexander Klenin
part 2 of issue #13163
git-svn-id: trunk@18671 -
2009-02-13 20:51:16 +00:00
vincents
eb20e8d8cd
TAChart: Extract DrawIfActive and AfterAdd procedures. Minor style fixes.
...
patch by: Alexander Klenin
part 1 of issue #13163
git-svn-id: trunk@18670 -
2009-02-13 20:45:43 +00:00
vincents
9335ffdf78
TAChart: fixed diminishing size of bar charts
...
patch by: Alexander Klenin
fixes issue (13130)
git-svn-id: trunk@18649 -
2009-02-12 14:51:34 +00:00
vincents
a9c58c425c
TAChart: Legend refactoring
...
patch by: Alexander Klenin
fixes issue (13119)
git-svn-id: trunk@18644 -
2009-02-12 09:57:51 +00:00
darius
488a25bd42
1) Created new unit TAChartUtils, moved some support code into it.
...
2) Heavily refactored code of CalculateIntervals and TAGraph.DrawAxis procedures -- removed lots of duplicated code, simplifed logic, extracted local procedures etc.
3) Introduced TPenBrushFontRecall helper class.
4) Added 'Axis titles' checkbox to the demo program.
Patch by Alexander Klenin
Resolves: http://bugs.freepascal.org/view.php?id=12758
git-svn-id: trunk@17799 -
2008-12-11 18:57:43 +00:00
darius
0d6bfec764
TChartSeries.AddXY inserts new point into a sorted list, which have O(N^2) computational cost.
...
This speeds up adding really long series.
Patch from Alexander Klenin
http://bugs.freepascal.org/view.php?id=12642
git-svn-id: trunk@17504 -
2008-11-22 09:44:29 +00:00
darius
897938b8e4
Patch by Alexander Klenin
...
- Extract duplicated code into TAGraph.LineInViewPort function.
- Heavily rearrange code inside TSerie.Draw and TAreaSeries.Draw procedures to enchance readability, remove code duplication and get rid of 'goto' statement.
- Fix a bug in TAreaSeries.Draw: areas higher then current viewport were not drawn.
- Use ACanvas parameter instead of ParentChart.Canvas in Draw procedures.
- Remove unused variables in TAGraph unit.
Fixes: http://bugs.freepascal.org/view.php?id=12618
git-svn-id: trunk@17399 -
2008-11-15 16:07:01 +00:00
darius
cde07c30e6
Remove TAEngine unit and TSeriesList class
...
Auto-update chart when one of its series is destroyed
patch by Alexander Klenin
http://bugs.freepascal.org/view.php?id=12589
git-svn-id: trunk@17289 -
2008-11-08 21:08:01 +00:00
darius
f1f3e50cdb
refactoring patch by Alexander Klenin
...
fixes: http://bugs.freepascal.org/view.php?id=12584
git-svn-id: trunk@17270 -
2008-11-07 21:46:59 +00:00
darius
101d1a7688
applied reformatting patch from Alexander Klenin
...
http://bugs.freepascal.org/view.php?id=12577
git-svn-id: trunk@17252 -
2008-11-06 18:24:10 +00:00
darius
fdbdc5410b
Added two more styles to TSeriesPointerStyle type, useful when there is a need to draw value intervals on a chart
...
path by Alexander Klenin
git-svn-id: trunk@17240 -
2008-11-05 17:58:25 +00:00
mattias
2996a3c332
rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
...
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
vincents
675e3bee30
TAChart: Code cleanups and bugfixes (bugfixes by Uwe Zimmermann and Oled), bug #10699
...
git-svn-id: trunk@13877 -
2008-01-25 14:45:02 +00:00
vincents
e1e7e14329
TAChart: Implemented ZoomFull, PaintOnCanvas and slight modifications to add TSerie pen style (by oleg), issue #10679
...
git-svn-id: trunk@13854 -
2008-01-24 12:00:43 +00:00
vincents
1d52ab2160
tachart: Bugfixes and partially implemented multibar in TBarSeries (bug #9802 ) from Luis Rodrigues
...
git-svn-id: trunk@12203 -
2007-09-27 19:44:46 +00:00
vincents
9e0cbc1e29
TAChart: Series clipping bugfixes and partially implement TSeriesPointer from Luis Rodrigues (issue #8706 )
...
git-svn-id: trunk@10959 -
2007-04-17 14:43:02 +00:00
vincents
ebefd69526
TAChart: bug fixes and implemented Series.ShowInLegend from Luis Rodrigues
...
git-svn-id: trunk@10791 -
2007-03-23 19:38:50 +00:00
vincents
3fc4f456a7
tachart: user lowercase unit filenames
...
git-svn-id: trunk@10663 -
2007-02-20 11:31:09 +00:00