Apache OpenOffice (AOO) Bugzilla – Issue 85310
im-/export date scale
Last modified: 2017-05-20 11:42:17 UTC
See the attached .xls file, found at: http://www.plasticsportal.net/wa/plasticsEU~en_GB/function/conversions:/publish/content/products/price_history.xls When viewed within Calc, the chart is "compressed" horizontally, such that all the useful data (lines, X-axis labels, etc.) are drawn across less than half of the width of the chart.
Created attachment 50922 [details] Excel file with mis-rendered chart.
Created attachment 50923 [details] How Excel renders it.
Created attachment 50924 [details] Calc Rendering. Notice that the display is horizontally compressed when compared with Excel.
@dr: one for you.
The chart in the attached document contains an X axis in date mode instead of category mode, thus it allows to set manual and automatic minimum/maximum as the Y axis do. Date axes are not supported in our chart at the current time. Workarounds 1) Change the source data to *not* include the empty cells below the data. Last non-empty cell is in row 137, but chart source data links until row 534. or: 2) Change chart type to scatter chart (XY chart) to be able to change minimum/maximum at the X axis. Changing title and issue type. DR->BM: do you have an issue for date axes in regular charts? Excel allows to: - set min/max (manual and auto) - set base unit (day/month/year/auto) - set main/help interval as day/month/year
owner
change owner
*** Issue 89198 has been marked as a duplicate of this issue. ***
Please vote for this issue. The problem occurs when the dates are in descending (top to bottom) order. Excel still shows the dates from left to right while Chart will show the dates from right to left. If the dates are in ascending order, both Excel and Chart will show identical charts.
I think the "Issue Type" should be "Defect" not "FEATURE".
Daniel, please implement the im- and export for date axis after its implemented with issue 25706 in CWS chart46. Thanks a lot!
started
Daniel, following changes have been made in CWS chart46 to the unpublished chart2 API: The css::chart2::AxisType has got a new value 'DATE'. The ScaleData has got two new member: boolean AutoDateAxis and TimeIncrement. Ignore the new member ShiftedCategoryPosition for the moment, as this is info is not saved. Let me know if the API description is not sufficient.
fixed in CWS chart46
Seen ok in cws chart 46, example doc looks great and as Date formatted-> issue verified