vaadin / vaadin-charts-flow

Vaadin Charts for Flow
Other
7 stars 11 forks source link

Title tag is always added to the chart #325

Closed tepi closed 4 years ago

tepi commented 4 years ago

Two very related issues here:

  1. If you don't set any title for a chart, it will still have a tag with the text "Chart", which is rendered as a tooltip in the browser. I expect there not to be a "Chart" tooltip by default.</p> </li> <li> <p>If you do set a title for a chart, it is also put into the <title> tag and rendered as tooltip. I expect there to be a way to separately set the always-visible chart title and the tooltip.</p> </li> </ol> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/alvarezguille"><img src="https://avatars.githubusercontent.com/u/9820084?v=4" />alvarezguille</a> commented <strong> 4 years ago</strong> </div> <div class="markdown-body"> <p>Duplicate of #270 The title comes from accessibility features. It can be disabled with <code>chart.getConfiguration().getAccessibility().setEnabled(false);</code></p> </div> </div> <div class="page-bar-simple"> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>