FPSpreadsheet: Fix default axis label orientation to "always horizontal" in xlsx reader

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9453 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz 2024-09-20 15:03:39 +00:00
parent a8c183b57a
commit d0a589cab7

View File

@ -439,8 +439,8 @@ begin
begin
x := 0;
ReadChartTextProps(ANode, AChartAxis.LabelFont, x);
if x = 1000 then
x := DEFAULT_TEXT_DIR[AChart.RotatedAxes, AChartAxis.Alignment]; // not sure, but maybe 1000 means: default
if x = 1000 then // default rotation
x := 0;
AChartAxis.LabelRotation := x;
end;
'c:crossAx':