Issue 100778 - allow fixed positioning of plot-area excluding axis labels
Summary: allow fixed positioning of plot-area excluding axis labels
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: kla
QA Contact: issues@graphics
Depends on:
Reported: 2009-04-02 09:15 UTC by arjanja
Modified: 2013-02-24 21:19 UTC (History)
2 users (show)

See Also:
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description arjanja 2009-04-02 09:15:39 UTC
Is it possible to plot the zeropoint of the X- and Y axis on specific 
coordinates in Calc diagrams or is this only possible with the box in which the 
diagram is placed? 

Is it an option to divide the diagram box into three boxes. One for the actual 
diagram, one for the y-axis and one for the x-axis? Then it is possible to 
position the diagram on the wanted x/y-coordinates. It will also be another 
mayor improvement in comparison to MSExcel. 

With this feature added to Calc it will be possible to use Calc for the 
production of diagrams for the Rotterdam MSR-project. The alignment of the y-
axis is crucial for this project. 

(See http://www.hetmilieuinderegiorotterdam. ... index.html , Hoofdstuk 8 Groen 
for example (i.e. Chapter '8') and http://www.hetmilieuinderegiorotterdam. ... 
index.html )

When there are 4 diagrams beneath each other in a report, it is essential that 
the Y-axis are lined-up identically. Otherwise the layout will look messy. When 
you line-up on the lower left corner of the actual box in which the diagram is 
placed, it causes a problem when you have a diagram with Y-axis labels 
consisting of 4 digits, combined with a diagram with Y-axis labels consisting 
of (for example) 2 digits. The digits on the far left (the first digits of the 
labels) line-up, but the actual Y-axis next to the 4 digit label will be more 
to the right then the Y-axis which is labelled with 2 digits. In other words 
the number of digits determines the placement of the Y-axis.

It is possible to manage this problem by trial and error and by the use of 
reference lines, but it would be better to have a user interface in which you 
can enter the coordinates of the zero point of the Y-axis. The other items of 
the diagram should be linked to the Y-axis.

See also:
Comment 1 kla 2009-04-06 09:02:40 UTC
Hi Iha, one for you.
Comment 2 IngridvdM 2009-04-06 09:50:08 UTC
I understand the use case and agree that an option would be useful to position
the plot area excluding the axis labels. Details have to specified. Also the
file format needs to be extended.
Comment 3 arjanja 2009-04-07 11:00:14 UTC
Dear Iha,

Which details must I specify? When A diagram is ready, we print out the diagram 
to pdf-file in A4-format, landscape orientation.

Comment 4 IngridvdM 2009-04-07 12:19:42 UTC
@ArjanjA, sorry that I was unclear. It is not necessary that you specify
anything. I just wanted to state that this new feature will need some more
thoughts about how this could be offered. A switch has somewhere to be offered
to choose whether position and size should include the axes or not. Thoughts and
comments are welcome here but not necessary. Thanks! :-)
Comment 5 arjanja 2009-08-25 13:40:59 UTC
Is it possible to estimate when this item will be ready? Thanks. ArjanjA
Comment 6 IngridvdM 2009-08-25 16:58:12 UTC
ArjanjA, no sorry. There is no schedule for this issue yet. Ingrid.
Comment 7 daniel.rentz 2009-11-27 16:15:53 UTC
DR->IHA: reminder: XDiagramPositioning::setDiagramPositionIncludingAxes() does
not work correctly yet.
Comment 8 arjanja 2010-03-08 12:11:47 UTC
Dear Iha,

Still no schedule for this issue? We are very much in need for this feature.

Comment 9 IngridvdM 2010-03-09 16:19:07 UTC
Still no schedule, sorry.
Comment 10 IngridvdM 2010-05-20 12:55:48 UTC
Fixed in CWS chartpositioning.
The position and size set within the dialog now does reflect the rectangle of
the inner plot area excluding axis titles and excluding axis labels. The same
for the rectangle that can be dragged via mouse.
Older files are once converted.
Comment 11 IngridvdM 2010-05-20 12:57:29 UTC
@Thomas, please verify in CWS chartpositioning.
Comment 12 arjanja 2010-05-20 13:42:59 UTC
Dear Iha,

Great! This will be very helpful to us. I understand that it will be available
with de 3.3 release. Can you tell me when 3.3 is going to be released?

Thanks again,
Arjan Aaftink
Comment 13 IngridvdM 2010-05-20 15:21:14 UTC
@arjanja, I am sorry, I don't know that. The issue also needs to pass a testing
phase before it can be integrated into the master code line. So integration is
not for sure.
Comment 14 kla 2010-06-04 14:20:26 UTC
Seen fine in cws chartpositioning -> verified
Comment 15 kla 2011-04-18 11:07:14 UTC
Seen ok in master -> closed