TChart - TChartListbox: TChartListbox.ItemHeight is in default too small
- Lazarus/FPC Version: Lazarus 2.0.12 r64642 FPC 3.2.0 x86_64-win64-win32/win64
- Operating System: Win7
- CPU / Bitness: 64 (64 or 32 Bit?)
What happens
The TChartListbox is showing all series, but the ItemHeight where is as default calculated is too small. Parameter: TChartListbox.Options := [cloShowIcons];
What did you expect
I have fix this mistake manually in FormShow(): TChartListbox.ItemHeight := TChartListbox.Canvas.TextHeight('Hj') + 6;
Steps to reproduce
Use a TChartListbox with a TChart and generate minimum of 2 series. TChartListbox.ExtendedSelect := False; TChartListbox.Options := [cloShowIcons];
Edited by Werner Pamler