FPSpreadsheet: Fix no splines in rotated ods series.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9470 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
parent
9c4fbfc963
commit
b4d8b94830
@ -1524,7 +1524,10 @@ begin
|
||||
TsPieSeries(series).InnerRadiusPercent := 50;
|
||||
end;
|
||||
'chart:line':
|
||||
series := TsLineSeries.Create(AChart);
|
||||
begin
|
||||
series := TsLineSeries.Create(AChart);
|
||||
TsLineSeries(series).Interpolation := AChart.Interpolation;
|
||||
end;
|
||||
'chart:radar':
|
||||
series := TsRadarSeries.Create(AChart);
|
||||
// Note: In ods, line and symbol colors are equal!
|
||||
|
@ -1958,6 +1958,11 @@ begin
|
||||
Result := false;
|
||||
exit;
|
||||
end;
|
||||
if (ser is TsLineSeries) and (TsLineSeries(ser).Interpolation in [ciCubicSpline, ciBSpline]) then
|
||||
begin
|
||||
Result := false;
|
||||
exit;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user