CollaboraOnline / online

Collabora Online is a collaborative online office suite based on LibreOffice technology. This is also the source for the Collabora Office apps for iOS and Android.
https://collaboraonline.com
Other
1.84k stars 701 forks source link

Equation and R square do not show up on trend curves #7263

Open Farenheid opened 1 year ago

Farenheid commented 1 year ago

Describe the Bug

When one asks to show the trend curve on a graphic, no matter what type, and ticks "Show equation" and/or "Show R square", neither equation not R square show up on the graphic.

Steps to Reproduce

  1. Enter edit mode on a graphic (double-click)
  2. Right click on any item from the serie
  3. In the context menu, select Insert Trend Curve
  4. Tick "Insert Equation" and/or "Insert R square"
  5. Click OK
  6. The trend curve shows up, but no equation nor R square

Expected Behavior

Equation and R square should show up above the trend curve

Actual Behavior

No equation nor R square show up

Desktop

(Please complete the following information)

Additional Context

Collabora Server is running on a Debian 11.3 server. Official DEB packages. Version 23.05.3-1

Smegheid commented 1 year ago

Wow. I spent a while writing up this very issue yesterday afternoon, then decided to wait for access to Collabora's demo server before submitting, just in case I'd done something stupid. :)

That took a while, so I didn't get to do the double-check until this morning.

See #7265 for basically the same thing, with a couple of videos demonstrating the text from both tickets.

Smegheid commented 1 year ago

Poking about, This appears to be a wider problem with the chart dialogues than just the trend line options.

For example, the data series options do not have any effect:

  1. Double-click the chart to enter edit mode.
  2. Double-click any data point to bring up the 'Data Series' dialogue.
  3. Select the 'Options' tab.
  4. Make any changes to the current options ('Hide legend entry', for example) and press 'OK'. The changes do not take effect.
  5. Open the dialogue again. No options have changed.

Similar to the trend line dialogue, The cosmetic options in the 'line' tab work, but the options in the 'Options' tab do not.

This also appears to affect:

There doesn't appear to be a pattern to the tabs that work vs. those that don't. It's not as simple as the first tab in a dialogue doesn't work, as there are several where it does, and as the x- and y-axis dialogues show, those have several nonfunctional tabs.

I should also add that this affects both my test nextcloud server and Collabora's trial instances of both owncloud and nextcloud; see #7265 for version details.

Farenheid commented 1 year ago

Nice ! In version 23.05.4.2, equation and R square do show up as expected !

Smegheid commented 1 year ago

Confirming that trend line options do work on the snapshot of 23.05.4.2 (git hash: 0b27e85) that's currently live on the demo servers.

However, the other chart-related problems above (x and y axis dialogue settings, etc.) do not work as of this version.