Stacked area problem lazarus / 55-TAChart ---------------------------------------------------------------------- loopbreaker · 2015-04-11 16:52 it looks like there is a problem in area series: Always wrong stacking (not from same index) if chart is zoomed. This can also be seen in multidemo after zooming. I have an idea, could someone check this: procedure drawSegment(AStart, AEnd: Integer); replace "UpdateGraphPoints(j - 1, AStart, AEnd)" with "UpdateGraphPoints(j - 1)" The latter uses FLoBound, FUpBound ---------------------------------------------------------------------- wp · 2015-04-11 17:17 Seems that the stacked chart in multidemo zooms correctly here (Laz trunk, fpc 2.6.4, Win). Please be more specific. Which version of Lazarus/fpc are you using, which operating system? ---------------------------------------------------------------------- loopbreaker · 2015-04-11 17:33 Quote from: wp on April 11, 2015, 07:17:37 pmSeems that the stacked chart in multidemo zooms correctly here (Laz trunk, fpc 2.6.4, Win). Please be more specific. Hi, the effect is easier seen if percentage = true, the sum should be always 100% in the correct case. The bottom stack segment uses data range [FLoBound, FUpBound], the upper segments use data range [AStart, AEnd], this is not compatible, leads to wrong sums (totals) - a single sum uses different data indices, but should use the same index. ---------------------------------------------------------------------- wp · 2015-04-11 17:53 Ah, I see, thank you. Fixed in r48728 (will go into v1.4)