[Solved] Stacked bars not drawn properly when using TChartStyles lazarus / 55-TAChart ---------------------------------------------------------------------- apeoperaio · 2026-01-15 09:29 Dear all, Using TChartStyles to color the stacked bars, the top border is not drawn properly when the top segment has a value of 0. Instead of drawing a black line on the top, the top line is drawn with the color of the top segment. Same behaviour on Windows, Linux (GTK2) and MacOS (Cocoa). See attached image and sample project. Any suggestion? Lazarus 4.4 (rev lazarus_4_4) FPC 3.2.2 aarch64-darwin-cocoa ---------------------------------------------------------------------- wp · 2026-01-15 10:51 Committed a modified bar series in which zero-height bars are not drawn at all. The new version is in Laz/main, so far, waiting for further testing by you and others. Later it will be backported to fixes and v4.6 (if I don't forget...) ---------------------------------------------------------------------- apeoperaio · 2026-01-15 11:57 Thank you! Super fast as usual. I tested on main and it works. Looking forward to see the patch in the fixes too. ---------------------------------------------------------------------- wp · 2026-01-16 09:57 Cherry-picked to FIXES (--> the fix will be contained in the next Lazarus relese version).