Issue 125303

Summary: Smoothed 3D line is out of chart
Product: Calc Reporter: Pedro <pedlino>
Component: viewingAssignee: AOO issues mailing list <issues>
Status: UNCONFIRMED --- QA Contact:
Severity: Normal    
Priority: P3    
Version: 4.1.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Sample chart including 2D and 3D curves. The 3D ribbon is cut-off at the top none

Description Pedro 2014-07-24 11:13:31 UTC
Created attachment 83732 [details]
Sample chart including 2D and 3D curves. The 3D ribbon is cut-off at the top

When a chart uses smoothed lines, the Automatic Maximum axis value has to be adjusted so that the curve (which might exceed the maximum value) fits in the chart.

This works correctly for 2D smoothed lines but not for 3D where the Maximum axis value is "stuck" on the highest variable value.

This seems to be a very easy fix, it probably only requires copy and paste of some code from the 2D charts to 3D.

The attached spreadsheet shows 3 charts generated from the same data. The 2D charts are correct. The 3D shows a the 3D ribbon cut off at the top. 

(I know I can manually increase the Y Maximum as a workaround)