Commit Graph

120 Commits

Author SHA1 Message Date
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
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
d8843a5d5d TAChart: Extracted TChartElement class. Fixed few bugs in Assign and SetXXX methods.
git-svn-id: trunk@18881 -
2009-03-03 16:02:32 +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
8cbced0728 TAChart: remove leftover {$MODE DELPHI}
git-svn-id: trunk@18873 -
2009-03-02 15:23:51 +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
ca17997c57 TAChart: allow series to include margins.
git-svn-id: trunk@18871 -
2009-03-02 15:21:26 +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
b83050cf62 TAChart: change inherited methods visibility to match parent class.
git-svn-id: trunk@18855 -
2009-03-01 10:51:37 +00:00
ask
7385883003 TAChart: refactor bar series drawing
git-svn-id: trunk@18851 -
2009-03-01 09:04:48 +00:00
ask
c27d946f16 TAChart: refactor zooming
git-svn-id: trunk@18818 -
2009-02-24 11:43: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