Bug 56045

Summary: Data-Labels- and Axis-Number-FORMATTING needs Complete Recalculation for update
Product: LibreOffice Reporter: A (Andy) <stgohi-lobugs>
Component: ChartAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium CC: jmadero.dev, LibreOffice, libreoffice, markus.mohrhard, thomas-libo
Version: Inherited From OOo   
Hardware: Other   
OS: Windows (All)   
Whiteboard: BSA
i915 platform: i915 features:
Attachments: Simple Sample

Description A (Andy) 2012-10-16 19:26:21 UTC
Problem description: 
If you insert a chart and change the format of the underlying data, this format is not updated automatically in the corresponding chart.

Steps to reproduce:
1. Open SPREADSHEET
2. Insert any four-digit number in any cell
3. Mark this cell and choose CHART from the menu INSERT and insert any kind of chart
4. Go to the four-digit number and choose CELLS from the menu FORMAT
5. Choose THOUSANDS SEPARATOR from the tab NUMBERS and press OK to close


Current behavior:
Nothing happens.


Expected behavior:
The format of the Y-axis in the chart should be changed to four-digit numbers with a thousands separator.

This format can unfortunately only be changed by a double click on the axis and deactivating SOURCE FORMAT and closing the Y-Axis window.  This problem is the same if you would for instance add a decimal place.
Comment 1 Rainer Bielefeld Retired 2012-10-16 20:21:29 UTC
Effect is Reproducible] with  "LibreOffice 3.6.3.1” German UI/ German Locale [Build-ID: f8fce0b] on German WIN7 Home Premium (64bit), same with 3.5.2; but I will have to do some more research tomorrow concerning some details.
Comment 2 Joel Madero 2013-02-11 03:38:17 UTC
Marking as NEW as Rainer has said he can reproduce.

Rainer - any more input on this one?
Comment 3 Thomas Arnhold 2013-02-15 14:23:02 UTC
I can confirm this. If the cell formatting changes the chart should be updated.

Steps 1-5 as described in comment#1.

6. Click on the chart and format axis. Deselect "Source format". Close the dialog.
7. Click on the chart a second time and format axis. Select "Source format". Close the dialog. Now the formatting is the same as in the cell.

Ctrl+F9 should update the chart formatting if "Source format", but it doesn't.
Comment 4 Rainer Bielefeld Retired 2013-02-15 17:01:29 UTC
Sorry, think I meant day after tomorrow or so ;-)

Same with Data labels and may be other source related Number formats, a change of formatting in source cell will not be applied before <control+shift+f9>

Already [Reproducible] with 
* Server Installation of  "LibreOffice 3.4.5 German UI [Build ID: OOO340m1 (Build:502)]" parallel Server installation on German WIN7 Home Premium (64bit) 
* AOOo 3.4.0 (back until 2.0)

So seems inherited from OOo.

Still [Reproducible] with parallel Dev-installation of  "Version 4.1.0.0.alpha0+ (Build ID: 2b9394f0c009b385756a0c5d75e3c1cd412f723) TinderBox: Win-x86@6, Branch:master, Pull Time: 2013-02-14_00:13:52" ENGLISH UI / German Locale  on German WIN7 Home Premium (64bit) with LODev/4 Masters User Profile 

The problem also is reproducible with Attachment 54073 [details] for Bug 43467. I have some problems to distinguish difference between problem there and here.
An other similar bug was "Bug 47084 - FORMATTING: FORMATTING X-axis "Time" not respected for calculated values"
	
@Kohei, Markus:
You were involved at the similar bugs I mention here, please set Status to ASSIGNED and add yourself to "Assigned To" if you accept this Bug or forward the Bug if it's not your turf
Comment 5 Rainer Bielefeld Retired 2013-02-15 17:02:50 UTC
Created attachment 74880 [details]
Simple Sample

For tests simply modify formatting in the spreadsheet cells to currency or similar, will be taken to chart not before <control+shift+f9>.
Comment 6 Rainer Bielefeld Retired 2013-02-15 17:24:20 UTC
"Bug 60914 - Number FORMATTING not changed in all cells of selection" is an other one in the change formatting chart related <control+shift+f9> area, it might make good economic sense to handle that one together with this one here (although probably not directly related).
Comment 7 A (Andy) 2013-12-27 12:18:47 UTC
still reproducible with LO 4.1.4.2 (Win7 Home, 64bit)
Comment 8 Markus Mohrhard 2013-12-27 19:19:20 UTC
(In reply to comment #7)
> still reproducible with LO 4.1.4.2 (Win7 Home, 64bit)

Yes. No need to check with each release. This will most likely not be fixed in the near future unless mentioned in the bug report.

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.