Issue 75933 - top points missing in xy diagram with automatic y scale
Summary: top points missing in xy diagram with automatic y scale
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P2 Trivial (vote)
Target Milestone: ---
Assignee: kla
QA Contact: issues@graphics
URL:
Keywords: regression
: 76037 76422 (view as issue list)
Depends on:
Blocks:
 
Reported: 2007-03-30 18:45 UTC by Regina Henschel
Modified: 2013-02-24 21:19 UTC (History)
2 users (show)

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


Attachments
example with missing points (12.87 KB, application/vnd.oasis.opendocument.spreadsheet)
2007-03-30 18:47 UTC, Regina Henschel
no flags Details
Fix for this issue in module sch (1.08 KB, patch)
2007-04-03 15:53 UTC, bjoern.milcke
no flags Details | Diff
Attachment of Issue 76037 (32.50 KB, application/vnd.oasis.opendocument.spreadsheet)
2007-04-03 15:55 UTC, bjoern.milcke
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Regina Henschel 2007-03-30 18:45:47 UTC
Create an xy chart with "Symbols only" for the data
x	y
1	4
2	5
3	3
4	5
5	1
6	5

Notice, that the points for "5" are missing.
Comment 1 Regina Henschel 2007-03-30 18:47:01 UTC
Created attachment 44081 [details]
example with missing points
Comment 2 Regina Henschel 2007-03-30 19:03:27 UTC
It is OK in OOo2.1
Comment 3 jolatt 2007-03-30 19:33:42 UTC
Not only with automatic y scale.
Manual y scale must be greater than "5" to show the points.
Comment 4 kla 2007-04-02 08:20:06 UTC
confirmed
Comment 5 bjoern.milcke 2007-04-02 10:03:44 UTC
It looks like symbols are not created when the data points lie on the edge of
the coordinate system in at least one coordinate.

Looks like another regression due to the basegfx migration (CWS aw024).
Comment 6 bjoern.milcke 2007-04-03 15:53:38 UTC
Created attachment 44182 [details]
Fix for this issue in module sch
Comment 7 bjoern.milcke 2007-04-03 15:55:46 UTC
Created attachment 44183 [details]
Attachment of Issue 76037
Comment 8 bjoern.milcke 2007-04-03 15:57:29 UTC
*** Issue 76037 has been marked as a duplicate of this issue. ***
Comment 9 bjoern.milcke 2007-04-03 16:01:21 UTC
Regression with an easy fix => suggesting Target 2.2.1
Comment 10 bjoern.milcke 2007-04-03 16:04:10 UTC
Rationale for the fix. Code fragment of sch/source/core/chtmod2a.cxx:

OOo 2.1:
Rectangle aClipRect( aRect );
aClipRect.Right() += 1;
aClipRect.Top() -= 1;

OOo 2.2 (integration of aw024):
const ::basegfx::B2DRange aClipRect(aRect.Left(), aRect.Top() + 1L,
aRect.Right(), aRect.Bottom() + 1L);

After fix:
const ::basegfx::B2DRange aClipRect(aRect.Left(), aRect.Top() - 1L,
aRect.Right() + 1L, aRect.Bottom());
Comment 11 bjoern.milcke 2007-04-13 07:42:50 UTC
Fixed in chtmod2a.cxx
Comment 12 bjoern.milcke 2007-04-13 07:43:39 UTC
Please verify in CWS sch17
Comment 13 bjoern.milcke 2007-04-17 07:40:15 UTC
*** Issue 76422 has been marked as a duplicate of this issue. ***
Comment 14 frank 2007-04-18 12:43:55 UTC
found fixed on cws sch17 using Linux, Solaris and Windows build
Comment 15 keulie_minogue 2007-05-30 20:09:54 UTC
not fixed in RC2 of 2.2.1 for WinXP
eventually another problem.

The problem comes, wenn in xy-diagramms - first row and colloum (zeile und
spalte) are chosen. otherwise it works fine in 2.2.0 and 2.2.1 RC2

need more information?
Comment 16 Regina Henschel 2007-05-30 20:56:21 UTC
I confirm, that the error is fixed in OOo2.2.1rc2.

@keulie_minogue: You probably checked both "First row as label" and "First
column as label" without having a label. Please file a new issue and attach the
document there, if you still think, that the diagram is wrong.

Comment 17 kla 2007-06-12 09:48:11 UTC
@keulie_minogue: can you confirm that your Diagram was wrong or can you attach
the doc?
Comment 18 kla 2007-07-02 13:01:43 UTC
@keulie_minogue: I think your Diagram was wrong, and its works fine in the
current master, so i will close this issue.