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:
parent
a8c183b57a
commit
d0a589cab7
@ -439,8 +439,8 @@ begin
|
|||||||
begin
|
begin
|
||||||
x := 0;
|
x := 0;
|
||||||
ReadChartTextProps(ANode, AChartAxis.LabelFont, x);
|
ReadChartTextProps(ANode, AChartAxis.LabelFont, x);
|
||||||
if x = 1000 then
|
if x = 1000 then // default rotation
|
||||||
x := DEFAULT_TEXT_DIR[AChart.RotatedAxes, AChartAxis.Alignment]; // not sure, but maybe 1000 means: default
|
x := 0;
|
||||||
AChartAxis.LabelRotation := x;
|
AChartAxis.LabelRotation := x;
|
||||||
end;
|
end;
|
||||||
'c:crossAx':
|
'c:crossAx':
|
||||||
|
Loading…
Reference in New Issue
Block a user