TAChart crashes when legend of a chart with PolarSeries is shown
Original Reporter info from Mantis: wp @wpam
-
Reporter name:
Original Reporter info from Mantis: wp @wpam
- Reporter name:
Description:
A chart with a PolarSeries crashes when the legend is activated (Chart.Legend.visible = true). The crash is due to calling the abstract method TPolarSeries.GetLegendItems. If occuring at design-time Lazarus may close leaving no time to save open work.
Steps to reproduce:
Open attached project in Lazarus. It contains a chart with a PolarSeries. In OI, set Chart1.Legend.Visible to true. Either Lazarus shuts down, or a message pops up saying that an abstract method has been called.
Additional information:
The attached patch adds the missing implementation of TPolarSeries.GetLegendItems.
Mantis conversion info:
- Mantis ID: 25456
- OS: Windows
- OS Build: Win 7-64
- Platform: i86
- Version: 1.3 (SVN)
- Fixed in version: 1.2.0
- Fixed in revision: 43737 (#9a169995)