-
Notifications
You must be signed in to change notification settings - Fork 473
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make title a text element in the SVG #504
Comments
Sorry that you find this annoying. We have on our roadmap a plan to convert the title to SVG. |
I've made a start on this. The title is now part of the SVG container, and the popover works as before. This also resolves the issue with titles sometimes appearing horizontally misaligned due to a large left margin. |
All done. @hamilton Let me know if you notice any issues. I also changed the y-position of |
nice guys! |
Its a bit annoying that the title of the chart is an h2 element above the chart. If you look at libraries like http://maurizzzio.github.io/function-plot/ the title is part of the SVG. This means that if you copy the SVG contents (or in my case create a "Download SVG" button) you get the title with it.
In my opinion it would be better anyway if the title was part of the SVG.
The text was updated successfully, but these errors were encountered: