Commit Graph

333 Commits

Author SHA1 Message Date
wp
762e695242 TAChart: New TLineSeries property ColorEach for individual coloring of line segments.
git-svn-id: trunk@57277 -
2018-02-10 20:41:31 +00:00
wp
f00551aab4 TAChart: Fix crash if multi-valued lineseries is displayed in legend using styles.
git-svn-id: trunk@57113 -
2018-01-18 08:29:28 +00:00
wp
91b5e9ace2 TAChart: Fix incorrect clipping of area series segments.
git-svn-id: trunk@57053 -
2018-01-11 13:09:08 +00:00
wp
0bc15a664b TAChart: Fix zerolevel being added to barseries values (see http://forum.lazarus.freepascal.org/index.php/topic,14419.msg239919.html#msg239919)
git-svn-id: trunk@54335 -
2017-03-03 12:06:03 +00:00
wp
e425cc10ae TAChart: Draw the pointers of a multi-valued series using the ChartStyles brush.
git-svn-id: trunk@54328 -
2017-03-02 22:45:02 +00:00
wp
1d32c97e32 TAChart: Add property ToolTargets to TCustomChartSeries and publish it in most of its descendants for finer control of datapoint tool behavior.
git-svn-id: trunk@54286 -
2017-02-26 22:45:57 +00:00
wp
0e70e5588a TAChart: Move BeginUpdate/EndUpdate from TLineSeries to its ancestor, TChartSeries
git-svn-id: trunk@54235 -
2017-02-21 19:01:50 +00:00
wp
1fb630f063 TAChart: Fix TDatapointTools acting on TBoxAndWhiskerSeries and TOpenHighLowCloseSeries with transformed axes.
git-svn-id: trunk@53943 -
2017-01-14 16:49:08 +00:00
wp
12987e232a TAChart: Activate TNearestPointTarget in TOpenHighLowCloseSeries. Fix DataPointTools using nptYList correctly for horizontal bar series.
git-svn-id: trunk@53934 -
2017-01-12 21:13:14 +00:00
wp
fa280dc697 TAChart: BarSeries accepts tool hits along upper bar border (not just at center of bar border).
git-svn-id: trunk@53932 -
2017-01-12 14:05:35 +00:00
wp
2757aa16cb TAChart: Remove TBarSeries.ToolTarget and activate the new NearestPoint system.
git-svn-id: trunk@53930 -
2017-01-11 20:13:56 +00:00
wp
cb61dd8c18 TAChart: Move Extent calculation from TLineSeries and TAreaSeries to ancestor TBasicPointSeries
git-svn-id: trunk@53928 -
2017-01-11 19:14:53 +00:00
wp
bb5823ecc2 TAChart: Move property Stacked from TAreaSeries/TLineSeries to tbeir ancestor TBasicPointSeries
git-svn-id: trunk@53918 -
2017-01-10 22:53:36 +00:00
wp
783241539d TAChart: Fix stacking of multi-valued Line/AreaSeries in case of axis transformations. New property Stacked to turn stacking off.
git-svn-id: trunk@53907 -
2017-01-10 00:11:06 +00:00
wp
24c746515e TAChart: Fix stacked bar series being incorrectly painted if a y axis transformation is active.
git-svn-id: trunk@53905 -
2017-01-09 12:35:09 +00:00
wp
2dd33ce583 TAChart: Fix extent of side-by-side bar series being calculated incorrectly if an x axis transformation is active.
git-svn-id: trunk@53904 -
2017-01-09 11:57:36 +00:00
wp
a11063c60e TAChart: Fix TBarSeries GetNearestPoint not working correctly in case of AxisTransformations
git-svn-id: trunk@53902 -
2017-01-09 11:22:47 +00:00
wp
363f930d54 TAChart: Override TBarSeries.GetNearestPoint to accept clicks inside the bar, new property ToolTarget (http://forum.lazarus.freepascal.org/index.php/topic,35342.0.html)
git-svn-id: trunk@53896 -
2017-01-07 23:06:09 +00:00
wp
cabde596fa TAChart: Avoid painting a line for zero-height bars in a TBarSeries
git-svn-id: trunk@52531 -
2016-06-20 11:12:12 +00:00
wp
e0199daa77 TAChart: Rename the new OnOwnerDrawPointer event to OnCustomDrawPointer. Add OnGetPointerStyle event (for Delphi compatibility) and add this to line demo.
git-svn-id: trunk@52104 -
2016-04-04 14:19:00 +00:00
wp
e63ea5918a TAChart: Add owner-draw pointer event to TLineSeries. Add demo showing bitmap pointer and drawing only every nth pointer.
git-svn-id: trunk@52103 -
2016-04-04 12:07:40 +00:00
ondrej
9f13b0b11a tachart: fix compiling for the coming TRect advanced functions in FPC 3.1.1 (see issue #29479)
git-svn-id: trunk@51383 -
2016-01-23 00:51:53 +00:00
wp
14381c96ad TAChart: Complete localization
git-svn-id: trunk@50758 -
2015-12-12 21:39:31 +00:00
wp
80fa123942 TAChart: Make TPieSeries.Radius public
git-svn-id: trunk@50333 -
2015-11-15 10:31:29 +00:00
wp
0442c2eda4 TAChart: Fix misaligned data in stacked area series (http://forum.lazarus.freepascal.org/index.php/topic,28025.msg174184)
git-svn-id: trunk@48728 -
2015-04-11 17:52:51 +00:00
wp
7b6b5c3ce1 TAChart: Fix arrows at axes and constant line series with respect to rtl bidi mode and line flips
git-svn-id: trunk@48496 -
2015-03-24 23:05:13 +00:00
wp
01cb0be6e0 TAChart: Fix several bugs related to incorrect scaling for printing
git-svn-id: trunk@47203 -
2014-12-15 13:59:56 +00:00
wp
b5e5e8a230 TAChart: Fix abstract method warning issued for run-time generated TConstantLine series (issue #0027123).
git-svn-id: trunk@47070 -
2014-12-03 15:01:07 +00:00
wp
eb68cbfbf3 TAChart: Fix incorrect operation of transformations on y axis of TConstantLineSeries (related to issue #26265)
git-svn-id: trunk@46916 -
2014-11-20 23:33:51 +00:00
wp
fb8000de63 TAChart: Add comment to explain usage of x axis in TConstantLineSeries.Draw.
git-svn-id: trunk@46905 -
2014-11-20 16:12:41 +00:00
wp
1d654ba391 TAChart: Publish TChartArrow.Inverted. Respect Arrow.Inverted when painting a TConstantLine series.
git-svn-id: trunk@46151 -
2014-09-07 15:00:57 +00:00
juha
4f4a01b473 TaChart: change a method from private to protected. Issue #26439, patch from TK.
git-svn-id: trunk@45763 -
2014-07-03 11:51:05 +00:00
zeljko
e3f6e10c6b TaChart: fixed compilation.
git-svn-id: trunk@41789 -
2013-06-22 09:06:49 +00:00
ask
04269eb231 TAChart: Avoid 'unused variable' hint on platfrorms other than Win32 and Gtk2
git-svn-id: trunk@41784 -
2013-06-21 13:57:06 +00:00
juha
ecd140c985 Improve license headers in sources, part 2. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41389 -
2013-05-25 09:22:25 +00:00
ask
ce06f3131a TAChart: Extract CreateLazIntfImage helper function
git-svn-id: trunk@40089 -
2013-01-31 09:11:51 +00:00
ask
92a2c6fc9c TAChart: Add TManhattanSeries
git-svn-id: trunk@40054 -
2013-01-30 13:30:11 +00:00
ask
c04513ee75 TAChart: Fix drawing of line series with number of points above 1000000
git-svn-id: trunk@40043 -
2013-01-30 03:26:23 +00:00
ask
1e0cb7d080 TAChart: Fix mark positions for bar series with BarOffsetPercent <> 0
git-svn-id: trunk@39130 -
2012-10-18 16:15:17 +00:00
ask
b7211c82d9 TAChart: Clear brush when drawing line series
git-svn-id: trunk@38873 -
2012-09-27 17:08:08 +00:00
ask
4678f2ffd4 TAChart: Add TBarSeries.GetBarWidth function
git-svn-id: trunk@38790 -
2012-09-21 15:30:25 +00:00
ask
ed154f4797 TAChart: Add TBasicPointSeries.MovePoint overload for graph coordinates
git-svn-id: trunk@38780 -
2012-09-21 11:15:15 +00:00
ask
7c5fdea730 TAChart: Fix hang when changing TLineSeries.ShowPoints while drawing chart
git-svn-id: trunk@38754 -
2012-09-19 13:47:00 +00:00
ask
38164a5dd7 TAChart: Add per-style legend items
git-svn-id: trunk@37528 -
2012-06-05 08:47:48 +00:00
ask
8bfa6da5ec TAChart: Use SetPropDefaults to set default properties of TLineSeries
git-svn-id: trunk@36919 -
2012-04-20 06:46:08 +00:00
ask
ab96a7be35 TAChart: Add TPieSeries.EdgePen property
git-svn-id: trunk@35639 -
2012-03-01 15:11:21 +00:00
ask
31c109090a TAChart: Initial version of 3-d pie charts
git-svn-id: trunk@35624 -
2012-02-29 16:55:08 +00:00
ask
43e5cef025 TAChart: Add TChartArrow.BaseLength property
git-svn-id: trunk@35622 -
2012-02-29 15:15:56 +00:00
ask
0daf02b5a9 TAChart: Fix range check error while drawing the stepped line which frequently goes out of the extent, issue #20887
git-svn-id: trunk@34169 -
2011-12-14 08:40:28 +00:00
ask
03933b7304 TAChart: Use Legend.Format for item-per-point multiplicity. Update demo.
git-svn-id: trunk@34015 -
2011-12-07 03:54:01 +00:00
ask
38f0b9b911 TAChart: Add Legend.Format property, implement it for single item per series multiplicity
git-svn-id: trunk@34009 -
2011-12-06 23:50:51 +00:00
ask
9c33a8ec42 TAChart: Move ExpandRange procedure to TAMath unit
git-svn-id: trunk@32699 -
2011-10-05 10:03:34 +00:00
ask
1176e4faca TAChart: Support NaNs in area series. Update demo
git-svn-id: trunk@32448 -
2011-09-21 11:30:39 +00:00
ask
6cad306a34 TAChart: Support NaNs in bar series
git-svn-id: trunk@32321 -
2011-09-13 16:40:44 +00:00
ask
24260c4e30 TAChart: Skip NaNs when drawing line series
git-svn-id: trunk@32307 -
2011-09-13 04:32:43 +00:00
ask
dd9ce14656 TAChart: Add TNearestPointParams.FRadius field
git-svn-id: trunk@32074 -
2011-08-28 05:53:15 +00:00
ask
ab098ca690 TAChart: Add TNearestPointResults.FDist field
git-svn-id: trunk@32073 -
2011-08-28 04:52:09 +00:00
ask
cc324e9e04 TAChart: Use records to pass parameters to GetNearestPoint function
git-svn-id: trunk@32072 -
2011-08-28 04:40:05 +00:00
ask
00a19e4d01 TAChart: Do not subtract ZeroLevel from the bar height
git-svn-id: trunk@32070 -
2011-08-27 15:34:21 +00:00
ask
413337fbfa TAChart: Make TConstantLine.AxisIndexX work in GetNearestPoint and MovePoint methods. Update axistransf demo.
git-svn-id: trunk@31953 -
2011-08-12 06:00:05 +00:00
ask
aa51debce9 TAChart: Add TChartAxis.Range property
git-svn-id: trunk@31822 -
2011-07-30 06:41:55 +00:00
ask
c61219fe79 TAChart: Add TConstantLine.AxisIndexX property
git-svn-id: trunk@31821 -
2011-07-29 07:15:59 +00:00
ask
c2dfa0d212 TAChart: Add TConstantLine.Arrow property
git-svn-id: trunk@31721 -
2011-07-17 08:30:28 +00:00
ask
c7a345958f TAChart: Add Pointer property to spline series
git-svn-id: trunk@31433 -
2011-06-28 16:34:58 +00:00
ask
1a44819dcf TAChart: Move Pointer property to TBasicPointSeries
git-svn-id: trunk@31432 -
2011-06-28 16:26:52 +00:00
ask
80486ae12e TAChart: Do not draw pointers with Visible = false
git-svn-id: trunk@31431 -
2011-06-28 16:03:36 +00:00
ask
452f12804c TAChart: Fix freeze for very long line series drawn with wide pen
git-svn-id: trunk@31242 -
2011-06-16 08:09:55 +00:00
ask
553a073919 TAChart: Add Marks.YIndex property, implement labels for stacked series
git-svn-id: trunk@30588 -
2011-05-06 15:27:27 +00:00
ask
88a88c1b2b TAChart: Consult BarSeries.ZeroLevel when calculating label direction
git-svn-id: trunk@30587 -
2011-05-06 15:06:09 +00:00
ask
4f051e1e6d TAChart: Add MarkPositions property to point-based series
git-svn-id: trunk@30578 -
2011-05-06 10:47:34 +00:00
ask
bad4e3f9a3 TAChart: Add PieSeries.MarkPositions property. Implement labels inside of slices.
git-svn-id: trunk@30570 -
2011-05-06 09:42:30 +00:00
ask
5546c5b445 TAChart: Fix "unchanged" checks in event assignments
git-svn-id: trunk@29989 -
2011-03-23 07:14:16 +00:00
ask
910e4b3def TAChart: Extract TADrawerCanvas unit, remove TADrawUtils -> Graphics dependency
git-svn-id: trunk@29970 -
2011-03-21 14:52:25 +00:00
ask
a4d4972a0a TAChart: Replace IChartDrawer.HasCanvas/GetCanvas with a separate IChartTCanvasDrawer interface
git-svn-id: trunk@29943 -
2011-03-20 20:04:22 +00:00
ask
26ac2c3d21 TAChart: Extract TAGeometry unit
git-svn-id: trunk@29797 -
2011-03-11 11:42:56 +00:00
ask
196b88b14f TAChart: Calculate bar height separately from drawing
git-svn-id: trunk@29733 -
2011-03-06 12:34:10 +00:00
ask
d48841a758 TAChart: Fix bar series drawing so that Source.Color, if set, overrides both BarBrush.Color and Styles.Brush.Color.
Fixes issue #18810

git-svn-id: trunk@29657 -
2011-02-23 16:19:25 +00:00
ask
abd9e9a7df TAChart: Use IChartDrawer to draw TUserDrawnSeries. Remove Draw(ACanvas) from TBasicChartSeries
git-svn-id: trunk@29638 -
2011-02-21 16:43:50 +00:00
ask
5f5e43acdb TAChart: Use IChartDrawer to draw TBubbleSeries and TBoxAndWhiskerSeries
git-svn-id: trunk@29635 -
2011-02-21 16:18:27 +00:00
ask
94f2a8371c TAChart: Use IChartDrawer to draw TSeriesPointer
git-svn-id: trunk@29634 -
2011-02-21 16:08:52 +00:00
ask
aac7596990 TAChart: Use IChartDrawer to draw TLineSeries
git-svn-id: trunk@29632 -
2011-02-21 10:47:53 +00:00
ask
106dd31ac6 TAChart: Use IChartDrawer to draw TAreaSeries
git-svn-id: trunk@29631 -
2011-02-21 10:12:44 +00:00
ask
2e16651b8b TAChart: Use IChartDrawer to draw TBarSeries
git-svn-id: trunk@29630 -
2011-02-21 09:43:29 +00:00
ask
afb0fca7f1 TAChart: Use IChartDrawer to draw TConstantLine series
git-svn-id: trunk@29624 -
2011-02-20 23:02:21 +00:00
ask
332efed95d TAChart: Standardize variable and setter names for TConstantLine.Position property
git-svn-id: trunk@29318 -
2011-02-02 07:07:35 +00:00
ask
79d868efcf TAChart: Allow assignment of TAreaSeries, TBarSeries, TConstantLine, TUserDrawnSeries
git-svn-id: trunk@29317 -
2011-02-02 07:05:56 +00:00
ask
1228ada9a3 TAChart: Update chart after modifying TBarSeries.BarWidthPercent
git-svn-id: trunk@29316 -
2011-02-02 06:53:33 +00:00
ask
545b9ba037 TAChart: Allow assignment of TLineSeries
git-svn-id: trunk@29315 -
2011-02-02 06:51:17 +00:00
ask
a41d6de601 TAChart: Do not store TConstantLine.SeriesColor property since it duplicates Pen.Color
git-svn-id: trunk@29306 -
2011-02-02 03:14:58 +00:00
ask
ac7217664b TAChart: Do not use series color for pointer drawing in TLineSeries.
Fixes issue #18594

git-svn-id: trunk@29181 -
2011-01-24 07:03:30 +00:00
ask
21453ac232 TAChart: Do not automatically normalize rectangle before expanding it. Add test.
git-svn-id: trunk@29101 -
2011-01-18 08:54:00 +00:00
ask
372ce5181d TAChart: Add TBarSeries.OnBeforeDrawBar event. See issue #18539
git-svn-id: trunk@29059 -
2011-01-17 02:45:24 +00:00
ask
ff046e1b02 TAChart: Add TBarSeries.BarWidthStyle property
git-svn-id: trunk@28717 -
2010-12-15 05:24:44 +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
09382cb3c0 TAChart: Add TPieSeries.FixedRadius property
git-svn-id: trunk@28638 -
2010-12-06 14:02:58 +00:00
ask
2b62871247 TAChart: Extract TARadialSeries unit
git-svn-id: trunk@28570 -
2010-11-30 13:04:00 +00:00
ask
11acb13b20 TAChart: Do not display empty slice labels
git-svn-id: trunk@28555 -
2010-11-29 10:59:26 +00:00
ask
7fcd05e49f TAChart: Add TPieSeries.FindContainingSlice function. Extract Measure helper method.
git-svn-id: trunk@28548 -
2010-11-28 19:41:13 +00:00
ask
b1578e5dac TAChart: Precisely calculate extra distance to pie series labels. Partially fixes issue #17988
git-svn-id: trunk@28368 -
2010-11-20 12:09:15 +00:00
ask
30b65050e7 TAChart: Fix drawing of rotated bar series
git-svn-id: trunk@27826 -
2010-10-24 06:46:06 +00:00