GNOME Bugzilla – Bug 777338
Formating the values of "Data Labels"
Last modified: 2017-01-22 19:01:25 UTC
I would like to report an issue that I've been having with gnumeric 1.12.32 (Fedora 25). In combination to my previous bugreport! https://bugzilla.gnome.org/show_bug.cgi?id=777336 I would like to add the following. When printing "data labels1", the values it prints can not be formatted. For example: The series is formatted as follows "112.12312312546546" Formatted to using 2 digits "112.12" But when using data labels1, the same series it has to print on the data labels can not be formatted. The data labels will show the unformatted series like: "112.12312312546546" It would be nice, being able to format the data labels as well. e.g. I would like to be able to format it to using 2 digits "112.12" for example.
Please attach a sample file that shows the problem
Created attachment 343579 [details] gnumeric uncompressed workbook
Created attachment 343580 [details] gnumeric chart screenshot
Created attachment 343583 [details] chart expected result (example) ... and here is what I would like to see. Values that I can adjust to e.g. 2 digits (or 3 digits or 4 digits) float. It's easier to read this, than having values like 0.214235435253432 printed on the labels :)
I see the problem. Either we should allow a format, or else we should use the format in the sheet. The work-around for now is to round the values and then plot the rounded values. That really isn't very satisfying, but it might get you going for now.
The code should use the cells format, but somehow it does not. Weird.
Created attachment 343954 [details] [review] Proposed patch When the format changes, the graph is not updated automatically, see #671348.
Jean: I don't understand the item-cursor and wbc-gtk changes. Are they supposed to be part of this?
Oops, no, not related. I don't even remember what these changes are for.
Other than that, go for it
This problem has been fixed in our software repository. The fix will go into the next software release. Once that release is available, you may want to check for a software upgrade provided by your Linux distribution.