TAChart: fix SeriesColor to work uniformly for all kinds of series
Original Reporter info from Mantis: Ask
-
Reporter name: Alexander S. Klenin
Original Reporter info from Mantis: Ask
- Reporter name: Alexander S. Klenin
Description:
Previously, SeriesColor property was implemented as a field of TChartSeries,
but then its function was partially subverted in descendant classes by
BarBrush.Color, AreaBrush.Color etc.
This resulted in various inconsistencies, such as mentioned here:
http://forum.lazarus.freepascal.org/index.php/topic,5937.0.html
Steps to reproduce:
See forum message in Description.
Additional information:
Patch also changes bar series color in demo to show that the
bar series not can be painted in non-red color.
Mantis conversion info:
- Mantis ID: 13184
- Fixed in version: 0.9.27 (SVN)
- Fixed in revision: 18709 (#06cd2605)