vaadin / charts

Framework 8 version of Vaadin Charts
Other
54 stars 84 forks source link

setTitle does not consistently update tooltip of the chart #634

Closed sirbris closed 2 years ago

sirbris commented 2 years ago

It does not seem possible to remove the tooltip "Chart" (see screenshot) of the chart. With setTitle you can set the actual Title of the chart AND that tooltip content. When you try to set it to null or "" the tooltip will be reset to "Chart".

Bildschirmfoto 2022-03-16 um 15 26 04

getConfiguration().getTitle().setText("");

sirbris commented 2 years ago
Bildschirmfoto 2022-03-16 um 15 52 33
sissbruecker commented 2 years ago

Moving this to in triage, there should be a way to change the tooltip, but it needs to be checked how. Seems the tooltip title is part of the accessibility features, which needs to be disabled or modified separately: https://github.com/vaadin/vaadin-charts-flow/issues/325#issuecomment-594560218

vursen commented 2 years ago

I checked to see if the issue is reproducible in the latest 23.0 and HighCharts doesn't render any <title> tags at all there, regardless of whether you set a title or not. The title seems to be always displayed in a regular div:

image

So, @sirbis could you please clarify which Vaadin version you are using? A reproduction example would be also helpful.

rolfsmeds commented 2 years ago

Closing as stale.