TAChart demos "db" and "db-pieseries" broken
- Lazarus/FPC Version: Lazarus 2.3.0 rmain-2_3-255-gfd378d56 FPC 3.2.2 i386-win32-win32/win64
- Operating System: Windows 10
- CPU / Bitness: 32 and 64 bit
What happens
The TAChart projects in folder components/tachart/demo/db and components/tachart/demo/db-pieseries demonstrate application of the TDbChartSource. While they were working fine in Laz 2.0.12 and older now there is a permanently running scrollbar of the dbgrid, and a click in the dbgrid always reset the focused cell into the last row. The application seems to be responsive, but cannot be closed by clicking the 'x' button in the window title bar.
Another issue occurs additionally with the db-pieseries demo. Here the chart legend is supposed to display the names of the three pie pieces, "Item1", "Item2", and "Item3", but the legend shows only "Item 3" three times. Selecting "OnGetItem event" in the combobox at the top results in a crash of the application with the error message "Project Chart db-aware demo raised exception class 'External: ACCESS VIOLATION' with message: Access violation reading from address $AD0000A0. At address 411122".
What did you expect
See above description.
Steps to reproduce
Compile and run the demo projects in above-mentioned folder of the TAChart installation.