You've already forked lazarus-ccr
fpspreadsheet: Fix labels of rotated axes in chart link.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9087 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -37,16 +37,6 @@
|
||||
<Mode Name="Default"/>
|
||||
</BuildModes>
|
||||
</Target>
|
||||
<Target FileName="scatter_log_write_demo.lpi">
|
||||
<BuildModes>
|
||||
<Mode Name="Default"/>
|
||||
</BuildModes>
|
||||
</Target>
|
||||
<Target FileName="scatter_loglog_write_demo.lpi">
|
||||
<BuildModes>
|
||||
<Mode Name="Default"/>
|
||||
</BuildModes>
|
||||
</Target>
|
||||
<Target FileName="stock_write_demo.lpi">
|
||||
<BuildModes>
|
||||
<Mode Name="Default"/>
|
||||
|
@ -1288,10 +1288,8 @@ begin
|
||||
FChart.AxisList[i].Minors.Delete(j);
|
||||
|
||||
if (FChart.AxisList[i].Marks.Source is TDateTimeIntervalChartSource) then
|
||||
begin
|
||||
FChart.AxisList[i].Marks.Source.Free;
|
||||
FChart.AxisList[i].Marks.Style := smsValue;
|
||||
end;
|
||||
|
||||
case FChart.AxisList[i].Alignment of
|
||||
calLeft, calBottom:
|
||||
@ -1763,12 +1761,12 @@ begin
|
||||
|
||||
if AWorkbookAxis = AWorkbookAxis.Chart.XAxis then
|
||||
align := calBottom
|
||||
else if AWorkbookAxis = AWorkbookAxis.Chart.X2Axis then
|
||||
align := calTop
|
||||
else if AWorkbookAxis = AWorkbookAxis.Chart.YAxis then
|
||||
align := calLeft
|
||||
else if AWorkbookAxis = AWorkbookAxis.Chart.Y2Axis then
|
||||
align := calRight
|
||||
else if AWorkbookAxis = AWorkbookAxis.Chart.X2Axis then
|
||||
align := calTop
|
||||
else
|
||||
raise Exception.Create('Unsupported axis alignment');
|
||||
|
||||
|
Reference in New Issue
Block a user