From 25e8ac68ed3bb165bf12833e004dfba06fe40932 Mon Sep 17 00:00:00 2001 From: wp Date: Sun, 13 Jan 2019 17:09:05 +0000 Subject: [PATCH] TAChart: Fix positioning of centered labels for logarithmic, non-stacked bar series with multiple y values. git-svn-id: trunk@60074 - --- components/tachart/tacustomseries.pas | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/tachart/tacustomseries.pas b/components/tachart/tacustomseries.pas index 341c7e8552..dfccdabaa8 100644 --- a/components/tachart/tacustomseries.pas +++ b/components/tachart/tacustomseries.pas @@ -1293,7 +1293,8 @@ begin else g := DoublePoint(g.x, (curr + prev) * 0.5); end; - prev := curr; + if Stacked then + prev := curr; with ParentChart do if