Bug 84756

Summary: Chart Labels not aligned as expected (macro open empty chart in writer)
Product: LibreOffice Reporter: mmaurer <muriel.maurer>
Component: ChartAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium CC: raal
Version: 4.0.3.3 release   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Text orientation of label to 90° and result
Macro to open the chart

Description mmaurer 2014-10-07 14:26:24 UTC
Created attachment 107498 [details]
Text orientation of label to 90° and result

To reproduced it create a macro and execute following command:

StarDesktop.loadComponentFromURL("private:factory/schart", 0, 0, Array())

A new Window showing a Chart Diagram will be opened.
Edit the Chart Data Table and enter for the Categories some long texts.
Edit the X-Axis and set on the tab "Label" 90° as Text orientation.

By resizing the window we can see that the categories-text are not alignedand  but the position is still changing.

Edit the X-Axis and set on the tab "Label" 91° as Text orientation --> all works as expected.

Error was found on 4.0.3.3. I have tried to reproduce it on 4.3.0 but the macro open only an empty window (no chart available)
Comment 1 raal 2014-10-14 04:46:22 UTC
Hello ,
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. 
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
(Please note that the attachment will be public, remove any sensitive information before attaching it. 
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)
Comment 2 mmaurer 2014-10-14 07:08:35 UTC
Created attachment 107804 [details]
Macro to open the chart

I have attached a Document with a macro that open a new chart diagram and set the properties to reproduced the behavior.
Comment 3 raal 2014-11-06 18:39:30 UTC
with LO Version: 4.4.0.0.alpha1+ or 4.2.7.2 macro open empty chart. With LO 3.5 the chart is open. 
Setting as new, macro open empty chart.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.