FPSpreadsheet: Fix incorrect bar and area series baseline of primary/secondary y axis charts in xlsx

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9460 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz 2024-09-21 21:41:16 +00:00
parent 179382c959
commit 89c9ad65c9

View File

@ -4026,6 +4026,8 @@ begin
WriteChartLabels(AStream, AIndent + 2, Axis.LabelFont);
// Axis position
if delete = 0 then
begin
case Axis.Position of
capStart:
crosses := ' <c:crosses val="min"/>';
@ -4038,6 +4040,7 @@ begin
// not used here: "autoZero"
end;
if crosses <> '' then crosses := indent + crosses + LE;
end;
AppendToStream(AStream, Format(
indent + ' <c:numFmt formatCode="General" sourceLinked="1"/>' + LE +