Bug 131897 - Hovering over "lines only" chart should show values in a tooltip just like for "lines and points"
Summary: Hovering over "lines only" chart should show values in a tooltip just like fo...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL: https://ask.libreoffice.org/t/calc-ch...
Whiteboard:
Keywords:
Depends on:
Blocks: Chart
  Show dependency treegraph
 
Reported: 2020-04-05 10:16 UTC by dasha.prikhodko
Modified: 2023-10-05 07:17 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Example (25.53 KB, image/png)
2020-04-05 10:23 UTC, dasha.prikhodko
Details
Screenshot showing the tooltip in Excel (44.04 KB, application/vnd.oasis.opendocument.graphics)
2021-08-23 12:17 UTC, Rafael Lima
Details
Tooltip in LO Calc (69.66 KB, image/png)
2021-08-23 14:18 UTC, Rafael Lima
Details
Screenshot (42.46 KB, image/png)
2021-08-23 14:28 UTC, Heiko Tietze
Details
Sample ODS file (17.88 KB, application/vnd.oasis.opendocument.spreadsheet)
2021-08-23 14:52 UTC, Rafael Lima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dasha.prikhodko 2020-04-05 10:16:20 UTC
Description:
current (x,y) data on the plot is not shown

Steps to Reproduce:
1. Insert chart (Chart Type = X-Y (Scattered))
2. Hover on a point of a chart

Actual Results:
nothing happens

Expected Results:
tooltip with actual (x,y) data should be appeared


Reproducible: Always


User Profile Reset: No



Additional Info:
-
Comment 1 dasha.prikhodko 2020-04-05 10:23:54 UTC
Created attachment 159337 [details]
Example
Comment 2 Buovjaga 2020-06-22 14:17:10 UTC
This sounds like a very welcome addition, so setting to NEW
Comment 3 Pedro 2020-06-22 14:38:48 UTC
+1 from me!
Comment 4 Rafael Lima 2021-08-23 12:17:20 UTC
Created attachment 174489 [details]
Screenshot showing the tooltip in Excel

This feature is still not implemented in LO 7.2. As a frequent user of LO Calc myself, I really feel this is a must-have feature.

In Excel (see attached ODG file), the tooltip shows:
- Name of the data series
- Point number
- Point value

I believe we can have an even better tooltip in LO, because IMO the one in Excel doesn't look nice.
Comment 5 Heiko Tietze 2021-08-23 13:48:52 UTC
We do show the values in a tooltip. Works in Calc and Writer/Chart. Is this not working for you?
Comment 6 Rafael Lima 2021-08-23 14:18:06 UTC
Created attachment 174493 [details]
Tooltip in LO Calc

(In reply to Heiko Tietze from comment #5)
> We do show the values in a tooltip. Works in Calc and Writer/Chart. Is this
> not working for you?

Hi Heiko, it does not work for me. See the new attached PNG file.

If I double-click the chart and position the mouse in the data series, it only shows a tooltip with the name of the series. It does not show the (x, y) values.

I am using LO 7.2.0 on KDE.

Version: 7.2.0.4 / LibreOffice Community
Build ID: 9a9c6381e3f7a62afc1329bd359cc48accb6435b
CPU threads: 16; OS: Linux 5.11; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: threaded
Comment 7 Heiko Tietze 2021-08-23 14:28:38 UTC
Created attachment 174494 [details]
Screenshot

That's how it looks with chart type "Points and Lines" or "Bars". No point label for "Lines Only", but that's likely not what you've done.
Comment 8 Regina Henschel 2021-08-23 14:42:54 UTC
The deficit of LibreOffice is that the tooltip is only shown if the chart is activated. Excel shows the tooltip when hovering the inactivated chart.
Comment 9 Rafael Lima 2021-08-23 14:52:52 UTC
Created attachment 174496 [details]
Sample ODS file

(In reply to Heiko Tietze from comment #7)
> That's how it looks with chart type "Points and Lines" or "Bars". No point
> label for "Lines Only", but that's likely not what you've done.

I attached the ODS file with the chart. In LO even if I activate the chart and point the mouse to a value point, it only shows the data series name, not the value nor the point number.

However, if I open this ODS file in Excel (I did not even convert it to XLSX), it does show a tooltip with the point number and value.

I believe this is a feature worth adding to LO as well.
Comment 10 Heiko Tietze 2021-08-23 15:11:35 UTC
(In reply to Rafael Lima from comment #9)
> I attached the ODS file with the chart. 

Change the chart type and you get the tooltip. Lines only have no points.
Comment 11 Rafael Lima 2021-08-27 12:47:08 UTC
> Change the chart type and you get the tooltip. Lines only have no points.

Hi Heiko... It works when changing the chart type to "Points and Lines" as you said. Hence this is not a bug.

However, it would be good to be able to show tooltips with data values in the "Lines only" chart to improve compatibility with Excel.

Suppose the user does not want any "points" in the chart but still wants to be able to see tooltips with data values, as is currently possible in Excel. IMO it would be a good feature to add.
Comment 12 Heiko Tietze 2021-08-27 13:05:43 UTC
At least it wont affect usability :-)
Comment 13 Stéphane Guillou (stragu) 2023-10-05 07:17:47 UTC
Was the same in OOo 3.3, so inherited.

Still needed in recent trunk build:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: f95c3994f0b6a82a3bc2ddfb68822b74479ae185
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded