Skip to content
Snippets Groups Projects
Commit a796ddc0 authored by Bucknell, Mary S.'s avatar Bucknell, Mary S.
Browse files

Added title attribute to svg

parent 8ad2a669
No related branches found
No related tags found
No related merge requests found
......@@ -52,6 +52,7 @@ class Hydrograph {
.attr('class', 'hydrograph-container')
.style('padding-bottom', ASPECT_RATIO_PERCENT)
.append('svg')
.attr('title', this._title)
.attr('preserveAspectRatio', 'xMinYMin meet')
.attr('viewBox', `0 0 ${WIDTH} ${HEIGHT}`);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment