Issue 94838 - Diagram-Axis interval does only accept valid date values
Summary: Diagram-Axis interval does only accept valid date values
Status: CLOSED DUPLICATE of issue 87900
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: Mac All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: spreadsheet
QA Contact: issues@graphics
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2008-10-10 12:39 UTC by Uwe Altmann
Modified: 2013-02-24 21:22 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
prepared test file (16.34 KB, application/vnd.oasis.opendocument.spreadsheet)
2008-10-10 12:40 UTC, Uwe Altmann
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Uwe Altmann 2008-10-10 12:39:52 UTC
Open attatched test file DateInDiagramAxis.ods
Activate Diagram
Format > Axis > X-Axis > Scale
Try to change major interval from 30.5 to 30.416 (which is the average lengh of
a month)
Error: "The major interval requires a positive number..."

Suppose because number format of x-Axis is set to "Date" there is no possibility
to fill in numbers which will not be interpreted as a valid date (31.3 is
accepted, 31.2 not). So the error is: Even if an Axis consists of date values,
the interval will never be a date but a number of days, hours or something else.
So this is one exception of "Interval must be the same data type then axis
itself" (which normally would be ok as an assumption).

This is all because we don't have Day/Time-Diagram type. 

Really nice solution would be a selection combo for intervals, displaying
Year/Month/Week/Day/Hour/Minute/Second instead of a value if axis' number format
is set to a Date/Time type - with correct handling of resulting intervals of
course (so we would have a Date/Time-Diagram type at last) :-)

Tested on Mac and Win32
Comment 1 Uwe Altmann 2008-10-10 12:40:46 UTC
Created attachment 57109 [details]
prepared test file
Comment 2 Regina Henschel 2008-10-22 20:29:52 UTC
This is duplicate to issue 87900. For a workaround look there.

BTW: If you try to get the grid on every 1. of a month, entering 30.146 will not
work.

*** This issue has been marked as a duplicate of 87900 ***
Comment 3 Mechtilde 2008-11-05 21:36:45 UTC
close the duplicate